File tree Expand file tree Collapse file tree
external/gpl3/gcc/lib/libstdc++-v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # $NetBSD: Makefile,v 1.60 2025/10/14 07:19:46 mrg Exp $
1+ # $NetBSD: Makefile,v 1.61 2025/10/14 09:17:05 mrg Exp $
22
33REQUIRETOOLS = yes
44NOLINT = # defined
@@ -62,9 +62,10 @@ SRCS= ${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS}
6262
6363GCC_MACHINE_SUBDIR =${MACHINE_CPU:C/powerpc.*/rs6000/:C/x86_64/i386/}
6464
65- # Only the shared library is build with -D_GLIBCXX_SHARED, and the
66- # static library shouldn't need to provide old symbols.
67- CSHLIBFLAGS+ = -D_GLIBCXX_SHARED
65+ # The compatibility files are built without -D_GLIBCXX_SHARED.
66+ .for s in ${SRCS :Ncompatibility.cc:Ncompatibility-debug_list.cc:Ncompatibility-debug_list-2.cc:Ncompatibility-atomic-c++0x.cc:Ncompatibility-c++0x.cc:Ncompatibility-chrono.cc:Ncompatibility-condvar.cc:Ncompatibility-thread-c++0x.cc}
67+ CSHLIBFLAGS.${s}+ = -D_GLIBCXX_SHARED
68+ .endfor
6869
6970CXXFLAGS+ = -fno-implicit-templates
7071CPPFLAGS+ = -I${DIST}/libstdc++-v3/include
You can’t perform that action at this time.
0 commit comments