summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/Makefile')
-rw-r--r--sys/boot/efi/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/boot/efi/Makefile b/sys/boot/efi/Makefile
index 5dfb648..9f0e83a 100644
--- a/sys/boot/efi/Makefile
+++ b/sys/boot/efi/Makefile
@@ -1,9 +1,13 @@
# $FreeBSD$
-SUBDIR= libefi
+# In-tree GCC does not support __attribute__((ms_abi)).
+.if ${COMPILER_TYPE} != "gcc"
.if ${MACHINE_CPUARCH} == "amd64"
-SUBDIR+= loader boot1
+SUBDIR+= libefi loader boot1
.endif
+.endif # ${COMPILER_TYPE} != "gcc"
+
.include <bsd.subdir.mk>
+
OpenPOWER on IntegriCloud