summaryrefslogtreecommitdiff
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
commit7132183b9a267e6e4b6ca15df80f6c6736117c2d (patch)
tree700fe281982147b59f254a5094612262492b00f4 /eclass/toolchain.eclass
parentdont install split specs if USE=boundschecking, remove LIBPATH hack (Manifest... (diff)
downloadgentoo-2-7132183b9a267e6e4b6ca15df80f6c6736117c2d.tar.gz
gentoo-2-7132183b9a267e6e4b6ca15df80f6c6736117c2d.tar.bz2
gentoo-2-7132183b9a267e6e4b6ca15df80f6c6736117c2d.zip
dont create multiple specs files if USE=boundschecking
Diffstat (limited to 'eclass/toolchain.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