Add -fno-stack-protector to fix gummiboot build 30/32830/2
authorYury Usishchev <y.usishchev@samsung.com>
Wed, 24 Dec 2014 14:57:50 +0000 (17:57 +0300)
committerYury Usishchev <y.usishchev@samsung.com>
Wed, 3 Jun 2015 10:02:04 +0000 (03:02 -0700)
32694 enabled use of global CFLAGS and LDFLAGS.
That caused gummiboot build to fail in submission.
Adding -fno-stack-protector fixes the issue.

Change-Id: Ibfc4431163e7e1147b85f89bc8ae0a6de88044e6
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
packaging/gnu-efi.spec

index 100329d..a778ad3 100644 (file)
@@ -19,6 +19,8 @@ gnu-efi is a library for building EFI applications
 cp %{SOURCE1001} .
 
 %build
+export CFLAGS+=" -fno-stack-protector "
+export CXXFLAGS+=" -fno-stack-protector "
 make
 
 %install