aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_eh
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:13:44 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:13:44 +0000
commit9a41926bfb664dd77659d1615ba55d75c2c530a8 (patch)
tree22e8924bf0eae4d597df29297ed7d3533c32f5a9 /lib/libgcc_eh
parent5d00c5a6571cdf533228338fa7ca532c91af1d66 (diff)
downloadsrc-9a41926bfb664dd77659d1615ba55d75c2c530a8.tar.gz
src-9a41926bfb664dd77659d1615ba55d75c2c530a8.zip
Notes
Diffstat (limited to 'lib/libgcc_eh')
-rw-r--r--lib/libgcc_eh/Makefile.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc
index 5c8af2141382..39cccec7e6d9 100644
--- a/lib/libgcc_eh/Makefile.inc
+++ b/lib/libgcc_eh/Makefile.inc
@@ -27,10 +27,8 @@ 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"