[PATCH] Allow CFLAGS to influence efibootguard.efi build

3 views
Skip to first unread message

claudius....@siemens.com

unread,
Jun 28, 2017, 6:19:01 AM6/28/17
to efibootg...@googlegroups.com, Claudius Heine
From: Claudius Heine <c...@denx.de>

The CFLAGS environment value is currently not transfered to the build of
the efibootguard.efi binary.

This patch fixes that.

Signed-off-by: Claudius Heine <c...@denx.de>
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 47871b0..eb868c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -126,7 +126,8 @@ efi_cflags = \
-fno-stack-protector \
-Wsign-compare \
-mno-sse \
- -mno-mmx
+ -mno-mmx \
+ $(CFLAGS)

if ARCH_X86_64
efi_cflags += \
--
2.11.0

Reply all
Reply to author
Forward
0 new messages