summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-28 18:11:41 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-28 18:11:41 +0000
commitf336b6926483d150ba8ac177b20078ff072a20df (patch)
treebde58578392639aa083c89d992139078ef49cc93 /sys-libs
parentremove obsolete mask for broken gambit versions (diff)
downloadgentoo-2-f336b6926483d150ba8ac177b20078ff072a20df.tar.gz
gentoo-2-f336b6926483d150ba8ac177b20078ff072a20df.tar.bz2
gentoo-2-f336b6926483d150ba8ac177b20078ff072a20df.zip
Build glibc with -U_FORTIFY_SOURCE.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/ChangeLog5
-rw-r--r--sys-libs/glibc/files/eblits/common.eblit5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index 0e52285ed1bd..03c00398f3ef 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/glibc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.604 2009/01/26 18:41:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.605 2009/01/28 18:11:40 vapier Exp $
+
+ 28 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/eblits/common.eblit:
+ Build glibc with -U_FORTIFY_SOURCE.
26 Jan 2009; Mike Frysinger <vapier@gentoo.org> glibc-2.3.2-r12.ebuild,
glibc-2.3.5-r3.ebuild:
diff --git a/sys-libs/glibc/files/eblits/common.eblit b/sys-libs/glibc/files/eblits/common.eblit
index 0f019e6930b9..6160c0fed558 100644
--- a/sys-libs/glibc/files/eblits/common.eblit
+++ b/sys-libs/glibc/files/eblits/common.eblit
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.8 2008/12/29 09:22:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.9 2009/01/28 18:11:41 vapier Exp $
# We need to be able to set alternative headers for
# compiling for non-native platform
@@ -164,6 +164,9 @@ setup_flags() {
filter-flags -O?
append-flags -O2 -fno-strict-aliasing
+ # Cant build glibc itself with fortify code
+ append-cppflags -U_FORTIFY_SOURCE
+
# building glibc with SSP is fraught with difficulty, especially
# due to __stack_chk_fail_local which would mean significant changes
# to the glibc build process. See bug #94325