summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-02-26 01:55:32 +0100
committerKay Sievers <kay@vrfy.org>2015-02-26 01:56:09 +0100
commit33d25be0ef858ca07fc9843aec00c1f97a1b2e19 (patch)
tree69a13256793275fea38ce0ee5de654537803628f
parent20b1538df606174d082d00cff29b2dc2b0771453 (diff)
build-sys: efi - move cflag from x86_64 to common section
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 93c0509850..470d58b238 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2531,6 +2531,7 @@ efi_cflags = \
$(EFI_CFLAGS) \
-Wall \
-Wextra \
+ -std=gnu90 \
-nostdinc \
-ggdb -O0 \
-fpic \
@@ -2547,8 +2548,7 @@ if ARCH_X86_64
efi_cflags += \
-mno-red-zone \
-DEFI_FUNCTION_WRAPPER \
- -DGNU_EFI_USE_MS_ABI \
- -std=gnu90
+ -DGNU_EFI_USE_MS_ABI
endif
efi_ldflags = \