void-packages/srcpkgs/pinephone-uboot/patches/armtf/0006-ATF-set-fno-stack-protector.patch
2020-09-11 20:38:49 +07:00

10 lines
359 B
Diff

--- a/Makefile 2020-06-16 16:55:36.000000000 +0700
+++ b/Makefile 2020-06-17 12:18:28.612524000 +0700
@@ -353,6 +353,7 @@
-ffreestanding -Wa,--fatal-warnings
TF_CFLAGS += $(CPPFLAGS) $(TF_CFLAGS_$(ARCH)) \
-ffunction-sections -fdata-sections \
+ -fno-stack-protector \
-ffreestanding -fno-builtin -fno-common \
-Os -std=gnu99