X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=Makefile;h=c6307b6d069f8ec9a969ca6ad617245b95486d94;hb=1f23920dbf1377fa9e4aef4f3d20c34a06a71a35;hp=1ab3ebfc909198065a5d0b10a6e3ee0f1e768b3c;hpb=dec14f8c0eff54549e5747f8a4d1dc6c0347e2dd;p=karo-tx-linux.git diff --git a/Makefile b/Makefile index 1ab3ebfc9091..c6307b6d069f 100644 --- a/Makefile +++ b/Makefile @@ -533,8 +533,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) endif # Force gcc to behave correct even for buggy distributions -# Arch Makefiles may override this setting +ifndef CONFIG_CC_STACKPROTECTOR KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) +endif ifdef CONFIG_FRAME_POINTER KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls