summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-10-26 21:16:09 +0000
committerTravis Tilley <lv@gentoo.org>2004-10-26 21:16:09 +0000
commitf2e169c1bb06b57e210f2bef24abe2b58ab16f68 (patch)
tree6c4aaee20d99bf3279822051aacaf667417d3fcc /eclass
parentdont install split specs if USE=boundschecking, remove LIBPATH hack (diff)
downloadhistorical-f2e169c1bb06b57e210f2bef24abe2b58ab16f68.tar.gz
historical-f2e169c1bb06b57e210f2bef24abe2b58ab16f68.tar.bz2
historical-f2e169c1bb06b57e210f2bef24abe2b58ab16f68.zip
dont create multiple specs files if USE=boundschecking
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 1038dfd7f38d..41bdcef2c584 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.38 2004/10/26 18:51:57 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.39 2004/10/26 21:16:09 lv Exp $
#
# This eclass should contain general toolchain-related functions that are
# expected to not change, or change much.
@@ -1106,7 +1106,9 @@ gcc_src_compile() {
einfo "Compiling ${PN} ..."
gcc_do_make ${GCC_MAKE_TARGET}
- if [ "${ETYPE}" == "gcc-compiler" -a "${SPLIT_SPECS}" == "true" ] ; then
+ # Do not create multiple specs files for PIE+SSP if boundschecking is in
+ # USE, as we disable PIE+SSP when it is.
+ if [ "${ETYPE}" == "gcc-compiler" -a "${SPLIT_SPECS}" == "true" ] && use !boundschecking ; then
split_out_specs_files || die "failed to split out specs"
fi