aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_eh
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:16:33 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:16:33 +0000
commit752cabaa1cf94dff142dfe91161f627df793c2f8 (patch)
tree56c529711cd8f3d7791fa3caf99f1256719fabbf /lib/libgcc_eh
parent9a41926bfb664dd77659d1615ba55d75c2c530a8 (diff)
downloadsrc-752cabaa1cf94dff142dfe91161f627df793c2f8.tar.gz
src-752cabaa1cf94dff142dfe91161f627df793c2f8.zip
Revert r345704
I accidentally committed code from two reviews. I will reintroduce the code to bsd.progs.mk as part of a separate commit from r345704. Approved by: emaste (mentor, implicit) MFC after: 2 months MFC with: r345704
Notes
Notes: svn path=/head/; revision=345705
Diffstat (limited to 'lib/libgcc_eh')
-rw-r--r--lib/libgcc_eh/Makefile.inc4
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"