diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-23 12:15:22 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-23 12:15:22 +0100 |
commit | bb2873db3ef11e7b1299b1cca129f5d002e47f59 (patch) | |
tree | e53a1697f6ffb81d8f866ddadf3862ab0c04ceef /Makefile | |
parent | 31343957ea42a9340345c17288e56cfa07304bb8 (diff) | |
parent | 176bd2605edfd7d64370736abe8c44833068788b (diff) | |
download | barebox-bb2873db3ef11e7b1299b1cca129f5d002e47f59.tar.gz barebox-bb2873db3ef11e7b1299b1cca129f5d002e47f59.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -630,6 +630,13 @@ KBUILD_CFLAGS += $(call cc-option, -fno-delete-null-pointer-checks,) # disable invalid "can't wrap" optimizations for signed / pointers KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) +# Make sure -fstack-check isn't enabled (like gentoo apparently did) +KBUILD_CFLAGS += $(call cc-option,-fno-stack-check) + +# ensure -fcf-protection is disabled as it is incompatible with our sjlj +# Platforms that have their setjmp appropriately implemented may override this +KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none) + KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) # Align the bit size of userspace programs with the kernel |