aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/Makefile
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/libthr/Makefile
parentd7452d89ad48587b91d20ed6a9480f832c491502 (diff)
downloadsrc-fac6dee9eb58b2b558fec2aea749460ca623f6d6.tar.gz
src-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/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 5f3d52661c99..c77b6b565a87 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -29,10 +29,7 @@ CFLAGS+=-Winline
CFLAGS.thr_stack.c+= -Wno-cast-align
CFLAGS.rtld_malloc.c+= -Wno-cast-align
-.include <bsd.compiler.mk>
-.if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 40300)
CFLAGS.thr_symbols.c+= -Wno-missing-variable-declarations
-.endif
.ifndef NO_THREAD_UNWIND_STACK
CFLAGS+=-fexceptions