summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Brown2007-10-20 15:11:28 +0000
committerDavid Brown2007-10-20 15:11:28 +0000
commit44b287961d66d42032aabff1a0cee415c84ded5e (patch)
tree56e759027774e3be4efe268eb2511d9e97f169e9
parent890af154d2e2bd7aba5931dd67102c9ff175993f (diff)
gcc added location of linker change when compiling on lib64 systems
-rwxr-xr-xgnu/gcc/DETAILS1
-rw-r--r--gnu/gcc/HISTORY5
-rwxr-xr-xgnu/gcc/INSTALL5
3 files changed, 11 insertions, 0 deletions
diff --git a/gnu/gcc/DETAILS b/gnu/gcc/DETAILS
index 07933d6f45..fc9c322fd9 100755
--- a/gnu/gcc/DETAILS
+++ b/gnu/gcc/DETAILS
@@ -12,6 +12,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
WEB_SITE=http://gcc.gnu.org/
ENTERED=20040420
DOCS="$DOCS INSTALL"
+ PATCHLEVEL=1
KEYWORDS="compiler"
SHORT="the GNU C compiler"
cat << EOF
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 4959b5171f..42d227d9b3 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,8 @@
+2007-10-20 David Brown <dmlb2000@gmail.com>
+ * INSTALL: make sure if they are using lib64 to compile in the linker
+ as if it was in /lib64
+ * DETAILS: patchlevel++
+
2007-10-09 Andraž "ruskie" Levstik <ruskie@mages.ath.cx>
* DETAILS: updated spell to 4.2.2
fixed WEB_SITE
diff --git a/gnu/gcc/INSTALL b/gnu/gcc/INSTALL
index db5e393d44..7ed5d01e45 100755
--- a/gnu/gcc/INSTALL
+++ b/gnu/gcc/INSTALL
@@ -22,6 +22,11 @@ ln -sf ${TRACK_ROOT}/usr/bin/cpp ${INSTALL_ROOT}/lib &&
local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
mkdir -p $SPECSDIR/specs-local &&
cp gcc/specs $SPECSDIR/specs-local/specs-gcc &&
+if [[ $HOST == x86_64-* && $GCC_NOLIB64 == n ]]
+then
+ # make sure the linker gets compiled in as a /lib64 one
+ sed -i 's#/lib/ld-linux-x86-64.so.2#/lib64/ld-linux-x86-64.so.2#' $SPECSDIR/specs-local/specs-gcc
+fi &&
# make sure installwatch tracks it, the cat alone doesn't do that
touch $SPECSDIR/specs &&
cat $SPECSDIR/specs-local/* > $SPECSDIR/specs