aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.sys.mk
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:43:46 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-03-29 18:43:46 +0000
commitbdbf3440cef44fdda6b975e29805df1c88b1c9f6 (patch)
tree56c529711cd8f3d7791fa3caf99f1256719fabbf /share/mk/bsd.sys.mk
parent760b1a815b5c2fbb0f32796d3bc731aac8c87ace (diff)
downloadsrc-bdbf3440cef44fdda6b975e29805df1c88b1c9f6.tar.gz
src-bdbf3440cef44fdda6b975e29805df1c88b1c9f6.zip
Revert r345706: the third time will be the charm
When a review is closed via Phabricator it updates the patch attached to the review. I downloaded the raw patch from Phabricator, applied it, and repeated my mistake from r345704 by accident mixing content from D19732 and D19738. For my own personal sanity, I will try not to mix reviews like this in the future. MFC after: 1 month MFC with: r345706 Approved by: emaste (mentor, implicit)
Notes
Notes: svn path=/head/; revision=345707
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r--share/mk/bsd.sys.mk13
1 files changed, 0 insertions, 13 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 836f23a62c14..f2c78a0c2426 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -24,19 +24,6 @@ CFLAGS+= -std=iso9899:1999
.else # CSTD
CFLAGS+= -std=${CSTD}
.endif # CSTD
-
-.if ${COMPILER_FEATURES:Mc++11}
-CXXSTD?= c++11
-.elif ${COMPILER_TYPE} == "gcc"
-# Prior versions of g++ support C++98 with GNU extensions by default.
-CXXSTD?= gnu++98
-.else
-# Assume that the compiler supports at least C++98.
-CXXSTD?= c++98
-.endif
-CXXFLAGS+= -std=${CXXSTD}
-# CXXSTD
-
# -pedantic is problematic because it also imposes namespace restrictions
#CFLAGS+= -pedantic
.if defined(WARNS)