From: Claudius Heine <[email protected]>

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 <[email protected]>
---
 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

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20170628101648.30585-1-claudius.heine.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to