From: sam@ravnborg.org
To: linux-kernel@vger.kernel.org
Cc: Sam Ravnborg <sam@mars.ravnborg.org>, Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH] kbuild: -fno-stack-protector is not good
Date: Sat, 29 Jul 2006 09:19:38 +0200 [thread overview]
Message-ID: <11541575811787-git-send-email-sam@ravnborg.org> (raw)
In-Reply-To: <11541575813138-git-send-email-sam@ravnborg.org>
From: Sam Ravnborg <sam@mars.ravnborg.org>
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>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 60e09f2..07b8f34 100644
--- a/Makefile
+++ b/Makefile
@@ -310,8 +310,8 @@ CPPFLAGS := -D__KERNEL__ $(LINUXI
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common
# Force gcc to behave correct even for buggy distributions
-CFLAGS += $(call cc-option, -fno-stack-protector-all \
- -fno-stack-protector)
+CFLAGS += $(call cc-option, -fno-stack-protector)
+
AFLAGS := -D__ASSEMBLY__
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
--
1.4.1.rc2.gfc04
next prev parent reply other threads:[~2006-07-29 7:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-29 7:15 [PATCH 0/18] kbuild fixes Sam Ravnborg
2006-07-29 7:19 ` [PATCH] kbuild: hardcode value of YACC&LEX for aic7-triple-x sam
2006-07-29 7:19 ` [PATCH] kbuild: version.h and new headers_* targets does not require a kernel config sam
2006-07-29 7:19 ` [PATCH] kbuild: .gitignore utsrelease.h sam
2006-07-29 7:19 ` [PATCH] kbuild: improve error from file2alias sam
2006-07-29 7:19 ` [PATCH] kbuild: fix typo in modpost sam
2006-07-29 7:19 ` sam [this message]
2006-07-29 7:19 ` [PATCH] kconfig: correct oldconfig for unset choice options sam
2006-07-29 7:19 ` [PATCH] kconfig: support DOS line endings sam
2006-07-29 7:19 ` [PATCH] kbuild: consistently decide when to rebuild a target sam
2006-07-29 9:07 ` [PATCH] kbuild: hardcode value of YACC&LEX for aic7-triple-x Alexey Dobriyan
2006-07-30 19:31 ` Sam Ravnborg
2006-08-01 22:00 ` H. Peter Anvin
2006-08-01 22:00 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11541575811787-git-send-email-sam@ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@mars.ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox