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/libgcc_eh | |
| parent | 760b1a815b5c2fbb0f32796d3bc731aac8c87ace (diff) | |
Notes
Diffstat (limited to 'lib/libgcc_eh')
| -rw-r--r-- | lib/libgcc_eh/Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc index 39cccec7e6d9..5c8af2141382 100644 --- a/lib/libgcc_eh/Makefile.inc +++ b/lib/libgcc_eh/Makefile.inc @@ -27,8 +27,10 @@ CXXFLAGS.${file}+= -fno-exceptions -funwind-tables .endfor CFLAGS+= -I${UNWINDINCDIR} -I${.CURDIR} -D_LIBUNWIND_IS_NATIVE_ONLY +.if empty(CXXFLAGS:M-std=*) +CXXFLAGS+= -std=c++11 +.endif CXXFLAGS+= -fno-rtti -CXXSTD= c++11 STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC # Probably need to just move this earlier or use CXXFLAGS .if ${MK_DIRDEPS_BUILD} == "yes" |
