diff options
author | 2010-07-26 20:55:21 +0000 | |
---|---|---|
committer | 2010-07-26 20:55:21 +0000 | |
commit | 371d982e8a29b178ae786fec00645fd9dcedc64f (patch) | |
tree | e1c96d97a509c91d2b0442ee9ec52be89ad7c5f4 /profiles/prefix/darwin | |
parent | amd64/arm/x86 stable, bug #327657 (diff) | |
download | historical-371d982e8a29b178ae786fec00645fd9dcedc64f.tar.gz historical-371d982e8a29b178ae786fec00645fd9dcedc64f.tar.bz2 historical-371d982e8a29b178ae786fec00645fd9dcedc64f.zip |
Add -dead_strip_dylibs to LDFLAGS on Darwin (equivalent of --as-needed on ELF)
Diffstat (limited to 'profiles/prefix/darwin')
-rw-r--r-- | profiles/prefix/darwin/make.defaults | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/profiles/prefix/darwin/make.defaults b/profiles/prefix/darwin/make.defaults index 536b3649200f..a9e95ce158de 100644 --- a/profiles/prefix/darwin/make.defaults +++ b/profiles/prefix/darwin/make.defaults @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/make.defaults,v 1.2 2009/06/30 16:35:00 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/make.defaults,v 1.3 2010/07/26 20:55:21 grobian Exp $ # System-wide defaults for all Darwin profiles # This file should rarely need to be changed @@ -14,3 +14,6 @@ FEATURES="nostrip" # ALSA + Darwin != working USE_EXPAND="-ALSA_CARDS -ALSA_PCM_PLUGINS" + +# This is the sort of equivalent of --as-needed +LDFLAGS="-Wl,-dead_strip_dylibs" |