summaryrefslogtreecommitdiff
path: root/lib/libclang_rt
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2020-05-12 15:22:40 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2020-05-12 15:22:40 +0000
commitfac6dee9eb58b2b558fec2aea749460ca623f6d6 (patch)
tree081b765a37a7fe37a3e96564860bafdaad4d3dc2 /lib/libclang_rt
parentd7452d89ad48587b91d20ed6a9480f832c491502 (diff)
downloadsrc-test2-fac6dee9eb58b2b558fec2aea749460ca623f6d6.tar.gz
src-test2-fac6dee9eb58b2b558fec2aea749460ca623f6d6.zip
Remove tests for obsolete compilers in the build system
Assume gcc is at least 6.4, the oldest xtoolchain in the ports tree. Assume clang is at least 6, which was in 11.2-RELEASE. Drop conditions for older compilers. Reviewed by: imp (earlier version), emaste, jhb MFC after: 2 weeks Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D24802
Notes
Notes: svn path=/head/; revision=360964
Diffstat (limited to 'lib/libclang_rt')
-rw-r--r--lib/libclang_rt/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc
index 808204693014..8d829c9210ad 100644
--- a/lib/libclang_rt/Makefile.inc
+++ b/lib/libclang_rt/Makefile.inc
@@ -32,7 +32,7 @@ CFLAGS+= ${PICFLAG}
CFLAGS+= -fno-builtin
CFLAGS+= -fno-exceptions
CXXFLAGS+= -fno-rtti
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 30700
+.if ${COMPILER_TYPE} == clang
CFLAGS+= -fno-sanitize=safe-stack
.endif
CFLAGS+= -fno-stack-protector