Skip to content

Commit 11ae2e1

Browse files
revert the previous. it introduces a different, worse, error.
1 parent f1dedcd commit 11ae2e1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • external/gpl3/gcc/lib/libstdc++-v3

external/gpl3/gcc/lib/libstdc++-v3/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
REQUIRETOOLS= yes
44
NOLINT= # defined
@@ -62,9 +62,10 @@ SRCS= ${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS}
6262

6363
GCC_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

6970
CXXFLAGS+= -fno-implicit-templates
7071
CPPFLAGS+= -I${DIST}/libstdc++-v3/include

0 commit comments

Comments
 (0)