diff options
author | Brandon Hale <tseng@gentoo.org> | 2004-04-06 04:25:16 +0000 |
---|---|---|
committer | Brandon Hale <tseng@gentoo.org> | 2004-04-06 04:25:16 +0000 |
commit | 9311d7e485fb2459afc573bcc84ddd7e31569a92 (patch) | |
tree | c8e7f16ebe119ec65694febe5044e294b91c5e5e /eclass/flag-o-matic.eclass | |
parent | add inherit eutils (diff) | |
download | historical-9311d7e485fb2459afc573bcc84ddd7e31569a92.tar.gz historical-9311d7e485fb2459afc573bcc84ddd7e31569a92.tar.bz2 historical-9311d7e485fb2459afc573bcc84ddd7e31569a92.zip |
fix small thinko in flag-o-matic.eclass has_pie
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 21cc2c45dd92..b28a6c001f0e 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.42 2004/04/06 03:45:00 tseng Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.43 2004/04/06 04:25:16 tseng Exp $ # # Author Bart Verwilst <verwilst@gentoo.org> @@ -274,8 +274,8 @@ has_pic() { } has_pie() { - [ "${CFLAGS/-fPIC}" != "${CFLAGS}" ] && return 0 - [ "${CFLAGS/-fpic}" != "${CFLAGS}" ] && return 0 + [ "${CFLAGS/-fPIE}" != "${CFLAGS}" ] && return 0 + [ "${CFLAGS/-fpie}" != "${CFLAGS}" ] && return 0 [ has_version sys-devel/hardened-gcc ] && return 0 [ ! -z "`${CC/ .*/} --version| grep pie`" ] && return 0 return 1 |