diff options
author | smh <smh@FreeBSD.org> | 2016-01-14 18:53:54 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-01-14 18:53:54 +0000 |
commit | 4595193f73d5d91ddf831df0917a088ef5c3f100 (patch) | |
tree | bc11f21d86a452c3688adf355a32f9419b393ef5 /sys/boot/efi/loader | |
parent | 403914a4a4f57dcad2497639f59bc60f6888e22a (diff) | |
download | FreeBSD-src-4595193f73d5d91ddf831df0917a088ef5c3f100.zip FreeBSD-src-4595193f73d5d91ddf831df0917a088ef5c3f100.tar.gz |
Only build EFI components on supported compilers
As the in-tree GCC does not support __attribute__((ms_abi)) EFI can only
be built with Clang.
The EFI loader and boot1 validated this, but unused libefi was still built
causing issues under GCC after warnings where enabled by r293724.
Disable building all of EFI when the selected compiler is GCC.
MFC after: 2 weeks
X-MFC-With: r293268
Sponsored by: Multiplay
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r-- | sys/boot/efi/loader/Makefile | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile index 56f3cab..59d32ff 100644 --- a/sys/boot/efi/loader/Makefile +++ b/sys/boot/efi/loader/Makefile @@ -4,9 +4,6 @@ MAN= .include <src.opts.mk> -# In-tree GCC does not support __attribute__((ms_abi)). -.if ${COMPILER_TYPE} != "gcc" - MK_SSP= no PROG= loader.sym @@ -113,8 +110,6 @@ DPADD= ${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSTAND} \ ${LDSCRIPT} LDADD= ${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSTAND} -.endif # ${COMPILER_TYPE} != "gcc" - .include <bsd.prog.mk> beforedepend ${OBJS}: machine |