diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-07-26 20:55:21 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-07-26 20:55:21 +0000 |
commit | 62434a71ce69c90d156003d25a8005a597fad731 (patch) | |
tree | a25f52742c15b5ea87f1dca998339a187b008bfe /profiles/prefix/darwin | |
parent | amd64/arm/x86 stable, bug #327657 (diff) | |
download | gentoo-2-62434a71ce69c90d156003d25a8005a597fad731.tar.gz gentoo-2-62434a71ce69c90d156003d25a8005a597fad731.tar.bz2 gentoo-2-62434a71ce69c90d156003d25a8005a597fad731.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" |