diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-09-12 21:24:59 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-09-12 21:24:59 +0000 |
| commit | 44acc1e156e6aca0958fbbc292d52a18d1eea245 (patch) | |
| tree | c79e8a71b37de11d4b1eec2f1407c9747f131d48 /gnu/lib/libsupc++ | |
| parent | f5355ab1ba4d52ec600de107e277372b2502be0c (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libsupc++')
| -rw-r--r-- | gnu/lib/libsupc++/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile index ee6c60114c8cd..630387ab151f5 100644 --- a/gnu/lib/libsupc++/Makefile +++ b/gnu/lib/libsupc++/Makefile @@ -56,3 +56,7 @@ VERSION_MAP= ${.CURDIR}/Version.map # 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]} + +.if ${COMPILER_TYPE} == "clang" +CXXFLAGS+= -stdlib=libstdc++ +.endif |
