Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71718 Details for
Bug 110879
glibc-2.3.5-r2 fails to compile with vanilla gcc: unrecognized command line option "-fno-stack-protector"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
compilation workaround
glibc.patch (text/plain), 635 bytes, created by
Paolo Ornati
on 2005-10-30 04:26:18 UTC
(
hide
)
Description:
compilation workaround
Filename:
MIME Type:
Creator:
Paolo Ornati
Created:
2005-10-30 04:26:18 UTC
Size:
635 bytes
patch
obsolete
>--- glibc-2.3.5/sysdeps/unix/sysv/linux/Makefile.orig 2005-10-30 10:12:50.000000000 +0100 >+++ glibc-2.3.5/sysdeps/unix/sysv/linux/Makefile 2005-10-30 10:20:19.000000000 +0100 >@@ -1,6 +1,13 @@ >+# from Linux Kernel Source >+# cc-option >+# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586) >+ >+cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \ >+ > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) >+ > ifeq ($(subdir),csu) > sysdep_routines += errno-loc ssp >-CFLAGS-ssp.c += -fno-stack-protector >+CFLAGS-ssp.c += $(call cc-option, -fno-stack-protector) > endif > > ifeq ($(subdir),assert)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110879
: 71718