diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-07-13 14:27:27 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-08-01 05:32:46 -0400 |
commit | eb2cafa1d9026ced051601053885e260f8b8c099 (patch) | |
tree | c336614788127bb9be1dbf4c1d35f9966bd67217 | |
parent | 0463f3c7a353e4d082e825f01e2862ca0f7b34ce (diff) |
kbuild: -fno-stack-protector is not good
Ubuntu gcc has hardcoded -fstack-protector - but does not understand
-fno-stack-protector-all. So only try -fno-stack-protector.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -310,8 +310,8 @@ CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) | |||
310 | CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ | 310 | CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ |
311 | -fno-strict-aliasing -fno-common | 311 | -fno-strict-aliasing -fno-common |
312 | # Force gcc to behave correct even for buggy distributions | 312 | # Force gcc to behave correct even for buggy distributions |
313 | CFLAGS += $(call cc-option, -fno-stack-protector-all \ | 313 | CFLAGS += $(call cc-option, -fno-stack-protector) |
314 | -fno-stack-protector) | 314 | |
315 | AFLAGS := -D__ASSEMBLY__ | 315 | AFLAGS := -D__ASSEMBLY__ |
316 | 316 | ||
317 | # Read KERNELRELEASE from include/config/kernel.release (if it exists) | 317 | # Read KERNELRELEASE from include/config/kernel.release (if it exists) |