From b539e9a7e95c3a481c686ffcf310c87bc1e19707 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Feb 2021 21:56:53 +0000 Subject: [build] Remove support for building with the Intel C compiler Support for building with the Intel C compiler (icc) was added in 2009 in the expectation that UEFI support would eventually involve compiling iPXE to EFI Byte Code. EFI Byte Code has never found any widespread use: no widely available compilers can emit it, Microsoft refuses to sign EFI Byte Code binaries for UEFI Secure Boot, and I have personally never encountered any examples of EFI Byte Code in the wild. The support for using the Intel C compiler has not been tested in over a decade, and would almost certainly require modification to work with current releases of the compiler. Simplify the build process by removing this old legacy code. Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/include/ipxe/efi/efi.h') diff --git a/src/include/ipxe/efi/efi.h b/src/include/ipxe/efi/efi.h index c8c069c12..a83fa0f27 100644 --- a/src/include/ipxe/efi/efi.h +++ b/src/include/ipxe/efi/efi.h @@ -29,11 +29,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); /* EFI headers redefine ARRAY_SIZE */ #undef ARRAY_SIZE -/* EFI headers expect ICC to define __GNUC__ */ -#if defined ( __ICC ) && ! defined ( __GNUC__ ) -#define __GNUC__ 1 -#endif - /* EFI headers think your compiler uses the MS ABI by default on X64 */ #if __x86_64__ #define EFIAPI __attribute__((ms_abi)) -- cgit