diff options
author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2020-05-12 15:22:40 +0000 |
---|---|---|
committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2020-05-12 15:22:40 +0000 |
commit | fac6dee9eb58b2b558fec2aea749460ca623f6d6 (patch) | |
tree | 081b765a37a7fe37a3e96564860bafdaad4d3dc2 /lib/msun/Makefile | |
parent | d7452d89ad48587b91d20ed6a9480f832c491502 (diff) | |
download | src-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/msun/Makefile')
-rw-r--r-- | lib/msun/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile index 6c9af4c018c8..4491bc216a4c 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -108,13 +108,13 @@ COMMON_SRCS+= catrigl.c \ s_nextafterl.c s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c \ s_scalbnl.c s_sinl.c s_sincosl.c \ s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c -# Work around this warning from gcc 6: +# Work around this warning from gcc: # lib/msun/ld80/e_powl.c:275:1: error: floating constant exceeds range of # 'long double' [-Werror=overflow] # if( y >= LDBL_MAX ) # See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130067 .include <bsd.compiler.mk> -.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60000 +.if ${COMPILER_TYPE} == "gcc" CFLAGS.e_powl.c+= -Wno-error=overflow .endif .endif |