summaryrefslogtreecommitdiff
path: root/stand/efi
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 /stand/efi
parentd7452d89ad48587b91d20ed6a9480f832c491502 (diff)
downloadsrc-test-fac6dee9eb58b2b558fec2aea749460ca623f6d6.tar.gz
src-test-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 'stand/efi')
-rw-r--r--stand/efi/Makefile6
-rw-r--r--stand/efi/boot1/Makefile4
-rw-r--r--stand/efi/loader/Makefile4
3 files changed, 0 insertions, 14 deletions
diff --git a/stand/efi/Makefile b/stand/efi/Makefile
index 2e0daba6dab8d..f6cbede52bd5d 100644
--- a/stand/efi/Makefile
+++ b/stand/efi/Makefile
@@ -4,16 +4,10 @@ NO_OBJ=t
.include <bsd.init.mk>
-# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
-# than 4.5 supports it.
-.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
-
SUBDIR.${MK_FDT}+= fdt
SUBDIR.yes+= libefi boot1 gptboot
SUBDIR.${MK_FORTH}+= loader_4th
SUBDIR.${MK_LOADER_LUA}+= loader_lua
SUBDIR.yes+= loader_simp
-.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
-
.include <bsd.subdir.mk>
diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile
index 56a3eb028993e..b8644ace4d443 100644
--- a/stand/efi/boot1/Makefile
+++ b/stand/efi/boot1/Makefile
@@ -42,10 +42,6 @@ CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/contrib/opensolaris/common/lz4
CFLAGS+= -DEFI_ZFS_BOOT
.endif
-.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201
-CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized
-.endif
-
CFLAGS+= -I${EFIINC}
CFLAGS+= -I${EFIINCMD}
CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include
diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
index 6ee613e7bfeac..73b1975ad3e37 100644
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -31,10 +31,6 @@ CFLAGS+= -DEFI_ZFS_BOOT
HAVE_ZFS= yes
.endif
-.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201
-CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized
-.endif
-
# We implement a slightly non-standard %S in that it always takes a
# CHAR16 that's common in UEFI-land instead of a wchar_t. This only
# seems to matter on arm64 where wchar_t defaults to an int instead