diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-05-28 16:37:53 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-05-28 16:37:53 +0000 |
commit | 1409b6405a45530509b983cd919aeda6217660a7 (patch) | |
tree | 5332bab3c58b2f8acbf1e8ea703e9150f5bc0026 /sys-apps | |
parent | Fix Typo (Manifest recommit) (diff) | |
download | gentoo-2-1409b6405a45530509b983cd919aeda6217660a7.tar.gz gentoo-2-1409b6405a45530509b983cd919aeda6217660a7.tar.bz2 gentoo-2-1409b6405a45530509b983cd919aeda6217660a7.zip |
Fixes BUG #51942 (filtering -fPIC on amd64).
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/lm-sensors/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild | 15 |
2 files changed, 18 insertions, 3 deletions
diff --git a/sys-apps/lm-sensors/ChangeLog b/sys-apps/lm-sensors/ChangeLog index 46d46e34555f..5dc58d9d4e84 100644 --- a/sys-apps/lm-sensors/ChangeLog +++ b/sys-apps/lm-sensors/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/lm-sensors # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.27 2004/05/06 10:48:13 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.28 2004/05/28 16:37:52 kugelfang Exp $ + + 28 May 2004; Danny van Dyk <kugelfang@gentoo.org> lm-sensors-2.8.6.ebuild: + Handling filter-flags -fPIC now arch-dependant. There are archs + that need -fPIC ! Fixes BUG #51942. 06 May 2004; Travis Tilley <lv@gentoo.org> lm-sensors-2.8.6.ebuild: marking stable on amd64 diff --git a/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild b/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild index 2aee85411be1..34351d331aba 100644 --- a/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild +++ b/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild,v 1.3 2004/05/06 10:48:13 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild,v 1.4 2004/05/28 16:37:53 kugelfang Exp $ inherit flag-o-matic eutils @@ -79,7 +79,18 @@ src_compile() { einfo "that contain 'No such file' references." echo - filter-flags -fPIC -fstack-protector + + # Please _don't_ use filter-flags -fPIC on apps that need it! + # [ amd64, hppa, ia64, etc... ] + # Danny van Dyk <kugelfang@gentoo.org> 2004/05/28 + case "${ARCH}" in + "amd64") + filter-flags -fstack-protector + ;; + *) + filter-flags -fPIC -fstack-protector + ;; + esac cd ${S} emake clean |