Add -fno-stack-protector to fix gummiboot build
[platform/upstream/gnu-efi.git] / 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