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 /usr.sbin/acpi | |
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 'usr.sbin/acpi')
-rw-r--r-- | usr.sbin/acpi/acpidb/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile index 566794fa6f4b..5a6fceb2a4cb 100644 --- a/usr.sbin/acpi/acpidb/Makefile +++ b/usr.sbin/acpi/acpidb/Makefile @@ -87,6 +87,6 @@ LIBADD= pthread # integer to pointer, which is a GNU extension. # # Turn off the warning, because this is in contributed code. -.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 60000 +.if ${COMPILER_TYPE} == "clang" CWARNFLAGS+= -Wno-null-pointer-arithmetic .endif |