chiark / gitweb /
Makefile.am:efi_cflags compile with gcc v5
authorHarald Hoyer <harald@redhat.com>
Wed, 18 Feb 2015 13:45:12 +0000 (14:45 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 18 Feb 2015 14:23:23 +0000 (15:23 +0100)
Set -std=gnu90 to let efibind.h define the standard types.

[tomegun: retyped the patch as the originl would not apply]

Makefile.am

index 51c6d33..a5e07cf 100644 (file)
@@ -2533,7 +2533,8 @@ if ARCH_X86_64
 efi_cflags += \
        -mno-red-zone \
        -DEFI_FUNCTION_WRAPPER \
-       -DGNU_EFI_USE_MS_ABI
+       -DGNU_EFI_USE_MS_ABI \
+       -std=gnu90
 endif
 
 efi_ldflags = \