SOURCES: binutils-tooldir.patch (NEW) - allow specyfing tooldir at configur...
sparky
sparky at pld-linux.org
Wed Apr 22 01:33:01 CEST 2009
Author: sparky Date: Tue Apr 21 23:33:01 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow specyfing tooldir at configure time
---- Files affected:
SOURCES:
binutils-tooldir.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/binutils-tooldir.patch
diff -u /dev/null SOURCES/binutils-tooldir.patch:1.1
--- /dev/null Wed Apr 22 01:33:02 2009
+++ SOURCES/binutils-tooldir.patch Wed Apr 22 01:32:55 2009
@@ -0,0 +1,23 @@
+--- binutils-2.19.51.0.4/configure.ac~ 2009-04-22 01:13:43.033504635 +0200
++++ binutils-2.19.51.0.4/configure.ac 2009-04-22 01:14:26.780226141 +0200
+@@ -20,7 +20,6 @@
+ ### WARNING: this file contains embedded tabs. Do not run untabify on this file.
+
+ m4_include(config/acx.m4)
+-m4_include(config/override.m4)
+ m4_include(config/proginstall.m4)
+
+ AC_INIT(move-if-change)
+@@ -2113,7 +2112,11 @@
+
+ # Some systems (e.g., one of the i386-aix systems the gas testers are
+ # using) don't handle "\$" correctly, so don't use it here.
+-tooldir='${exec_prefix}'/${target_noncanonical}
++if test x${with_tooldir} != x ; then
++ tooldir="${with_tooldir}"
++else
++ tooldir='${exec_prefix}'/${target_noncanonical}
++fi
+ build_tooldir=${tooldir}
+
+ # Create a .gdbinit file which runs the one in srcdir
================================================================
More information about the pld-cvs-commit
mailing list