diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libstdc++/Makefile | 5 | ||||
-rw-r--r-- | gnu/lib/libsupc++/Makefile | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index d19f9f3..dffb563 100644 --- a/gnu/lib/libstdc++/Makefile +++ b/gnu/lib/libstdc++/Makefile @@ -634,7 +634,6 @@ CLEANFILES+= ${VERSION_MAP} .include <bsd.lib.mk> -# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98. -CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]} - CXXFLAGS.clang+= -stdlib=libstdc++ +CXXFLAGS+= -std=gnu++98 + diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile index 5cc5f04..a172a6e 100644 --- a/gnu/lib/libsupc++/Makefile +++ b/gnu/lib/libsupc++/Makefile @@ -54,7 +54,5 @@ VERSION_MAP= ${.CURDIR}/Version.map .include <bsd.lib.mk> -# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98. -CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]} - CXXFLAGS.clang+= -stdlib=libstdc++ +CXXFLAGS+= -std=gnu++98 |