build-sys: efi - move cflag from x86_64 to common section

This commit is contained in:
Kay Sievers 2015-02-26 01:55:32 +01:00
parent 20b1538df6
commit 33d25be0ef
1 changed files with 2 additions and 2 deletions

View File

@ -2531,6 +2531,7 @@ efi_cflags = \
$(EFI_CFLAGS) \ $(EFI_CFLAGS) \
-Wall \ -Wall \
-Wextra \ -Wextra \
-std=gnu90 \
-nostdinc \ -nostdinc \
-ggdb -O0 \ -ggdb -O0 \
-fpic \ -fpic \
@ -2547,8 +2548,7 @@ if ARCH_X86_64
efi_cflags += \ efi_cflags += \
-mno-red-zone \ -mno-red-zone \
-DEFI_FUNCTION_WRAPPER \ -DEFI_FUNCTION_WRAPPER \
-DGNU_EFI_USE_MS_ABI \ -DGNU_EFI_USE_MS_ABI
-std=gnu90
endif endif
efi_ldflags = \ efi_ldflags = \