diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2019-03-29 18:43:46 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2019-03-29 18:43:46 +0000 |
| commit | bdbf3440cef44fdda6b975e29805df1c88b1c9f6 (patch) | |
| tree | 56c529711cd8f3d7791fa3caf99f1256719fabbf /lib/libc++experimental | |
| parent | 760b1a815b5c2fbb0f32796d3bc731aac8c87ace (diff) | |
Notes
Diffstat (limited to 'lib/libc++experimental')
| -rw-r--r-- | lib/libc++experimental/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc++experimental/Makefile b/lib/libc++experimental/Makefile index 53c33018b535..8d1e4b58bbe2 100644 --- a/lib/libc++experimental/Makefile +++ b/lib/libc++experimental/Makefile @@ -20,6 +20,8 @@ CXXFLAGS+= -nostdinc++ CXXFLAGS+= -nostdlib CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY CXXFLAGS+= -DLIBCXXRT -CXXSTD= c++14 +.if empty(CXXFLAGS:M-std=*) +CXXFLAGS+= -std=c++14 +.endif .include <bsd.lib.mk> |
