[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: libtool--devo--1.0--patch-178
From: |
Gary V. Vaughan |
Subject: |
FYI: libtool--devo--1.0--patch-178 |
Date: |
Tue, 14 Sep 2004 22:24:23 +0100 (BST) |
User-agent: |
mailnotify/0.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied to HEAD.
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
iD8DBQFBR2GGFRMICSmD1gYRAqqNAKC9k4E/CRaC6TueCEArMlAdPi0+WwCfd1p7
DuxTGC4SYSqNGWsPveq7ylE=
=gSgi
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-177 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-177
M ChangeLog
M config/ltmain.in
* modified files
Index: Changelog
from Albert Chin-A-Young <address@hidden>
Unfortunately, libtool has no way of telling if unrecognized
compiler flags need an argument or not, and can disect options and
pass parts through incorrectly. This changeset reverts both
2004-09-06 Albert Chin-A-Young (topmost) and 2004-09-05 Albert
Chin-A-Young below, and recognises more options explicitly:
* config/ltmain.in (func_mode_link): Pass through options needed
to compile in 64-bit mode with gcc, and the SGI, Sun, HP and IBM
compilers.
--- orig/config/ltmain.in
+++ mod/config/ltmain.in
@@ -2963,6 +2963,26 @@
continue
;;
+ # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
+ # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
+ # +DA*, +DD* enable 64-bit mode on the HP compiler
+ # -q* pass through compiler args for the IBM compiler
+ # -m* pass through architecture-specific compiler args for GCC
+ -64|-mips[0-9]||-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ compiler_flags="$compiler_flags $arg"
+ continue
+ ;;
+
# Some other compiler flag.
-* | +*)
# Unknown arguments in both finalize_command and compile_command need
@@ -2973,10 +2993,6 @@
arg="\"$arg\""
;;
esac
-
- if test -z "$prev"; then
- compiler_flags="$compiler_flags $arg"
- fi
;;
*.$objext)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: libtool--devo--1.0--patch-178,
Gary V. Vaughan <=