[intel/portage] improve GCC_SPECS setup for dev-lang/python, use gcc-config

This commit is contained in:
Fabio Erculiani 2012-10-07 22:01:09 +02:00
parent c2a5c47e9f
commit 097d26c17c

View File

@ -2,5 +2,6 @@
# Segmentation faults with guake.
# See Sabayon bug #3599
echo "* Disabling PIE as per bug 3599"
GCC_SPECS=/usr/lib/gcc/*/*/hardenednopiessp.specs
GCC_SPECS=$(gcc-config -L)/hardenednopiessp.specs
echo "* Setting GCC_SPECS to ${GCC_SPECS}"
export GCC_SPECS