summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-09-21 09:54:31 +0000
committerNed Ludd <solar@gentoo.org>2003-09-21 09:54:31 +0000
commit7cc2c6bf6860f24edbb4a146d18f0ec6a1cb7ba3 (patch)
tree9aebcfbaceee4fb9a7156276de102f327553a92e
parent*** empty log message *** (diff)
downloadgentoo-2-7cc2c6bf6860f24edbb4a146d18f0ec6a1cb7ba3.tar.gz
gentoo-2-7cc2c6bf6860f24edbb4a146d18f0ec6a1cb7ba3.tar.bz2
gentoo-2-7cc2c6bf6860f24edbb4a146d18f0ec6a1cb7ba3.zip
Adding filter-flags and check for hgcc. cpuid.cc uses inline asm and can not be linked when position independent code is desired.
-rw-r--r--sys-apps/lshw/ChangeLog6
-rw-r--r--sys-apps/lshw/Manifest6
-rw-r--r--sys-apps/lshw/lshw-01.03.ebuild8
3 files changed, 15 insertions, 5 deletions
diff --git a/sys-apps/lshw/ChangeLog b/sys-apps/lshw/ChangeLog
index abe71a8e5afd..4aad6d624dce 100644
--- a/sys-apps/lshw/ChangeLog
+++ b/sys-apps/lshw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/lshw
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.3 2003/08/20 12:58:27 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.4 2003/09/21 09:54:28 solar Exp $
+
+ 21 Sep 2003; <solar@gentoo.org> lshw-01.03.ebuild:
+ cpuid.cc uses inline asm and can not be linked when position independent code
+ is desired.
*lshw-01.03 (20 Aug 2003)
diff --git a/sys-apps/lshw/Manifest b/sys-apps/lshw/Manifest
index 2c2cfcc0f753..87a7d7e04f3d 100644
--- a/sys-apps/lshw/Manifest
+++ b/sys-apps/lshw/Manifest
@@ -1,5 +1,5 @@
+MD5 fe47efd5a82c28b259a8adce6eaa62d8 ChangeLog 800
+MD5 e9f0ac962a3e1d1b14c5df87302d6d85 lshw-01.00.ebuild 571
+MD5 461b8291c7047c479dd2785dd50cd95f lshw-01.03.ebuild 789
MD5 f85a623707b313b0bde6003e7a2f608c files/digest-lshw-01.00 63
MD5 3d92a2d793681247d8469f267a3a1781 files/digest-lshw-01.03 63
-MD5 79b2a93800a7f7ecb6243292c6d5d706 lshw-01.03.ebuild 588
-MD5 e9f0ac962a3e1d1b14c5df87302d6d85 lshw-01.00.ebuild 571
-MD5 8e09f5396fd51c472b54e1fa88fad123 ChangeLog 653
diff --git a/sys-apps/lshw/lshw-01.03.ebuild b/sys-apps/lshw/lshw-01.03.ebuild
index ebb0fa1cd7b2..04d6aaa89bdf 100644
--- a/sys-apps/lshw/lshw-01.03.ebuild
+++ b/sys-apps/lshw/lshw-01.03.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-01.03.ebuild,v 1.1 2003/08/20 12:58:27 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-01.03.ebuild,v 1.2 2003/09/21 09:54:28 solar Exp $
+
+inherit flag-o-matic
MY_P="${P/-/-A.}"
DESCRIPTION="Hardware Lister"
@@ -17,6 +19,10 @@ DEPEND="virtual/glibc"
S="${WORKDIR}/${MY_P}"
src_compile() {
+ # cpuid.cc uses inline asm and can not be linked when
+ # position independent code is desired.
+ filter-flags -fPIC
+ has_version 'sys-devel/hardened-gcc' && append-flags -yet_exec
emake CXXFLAGS="${CXXFLAGS}" || die
}