summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-11 19:50:08 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-11 19:50:08 +0000
commit539f41caba7b6dacc540c1d56d9a2d08852cc11d (patch)
tree8257b9f1d7c315e10e8a1dc4ca505ec03ba2790b /profiles/default
parentclean up (diff)
downloadgentoo-2-539f41caba7b6dacc540c1d56d9a2d08852cc11d.tar.gz
gentoo-2-539f41caba7b6dacc540c1d56d9a2d08852cc11d.tar.bz2
gentoo-2-539f41caba7b6dacc540c1d56d9a2d08852cc11d.zip
Change LD_AS_NEEDED which got rejected by binutils upstream to plain LDFLAGS based -Wl,--as-needed wrt #327753 by Ryan Hill.
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/linux/make.defaults4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults
index 6a717f188c2e..b052b2e42158 100644
--- a/profiles/default/linux/make.defaults
+++ b/profiles/default/linux/make.defaults
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/make.defaults,v 1.4 2009/10/31 15:42:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/make.defaults,v 1.5 2010/07/11 19:50:08 ssuominen Exp $
#
# System-wide defaults for the Portage system
# See portage(5) manpage
@@ -50,7 +50,7 @@ VIDEO_CARDS="dummy fbdev v4l"
# after discussion on the gentoo-dev ML. As we bang out a clear
# direction with how LDFLAGS will be set by default, this entry
# may move.
-LDFLAGS="-Wl,-O1"
+LDFLAGS="-Wl,-O1 ${LDFLAGS}"
# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml