]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link mode): When accepting -64, -mips[0-9], et. al.
authorAlbert Chin-A-Young <china@thewrittenword.com>
Tue, 18 Oct 2005 07:26:05 +0000 (07:26 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 18 Oct 2005 07:26:05 +0000 (07:26 +0000)
compiler flags, don't set compiler_flags only for GCC as the
vendor compiler also requires this flag. Sync with HEAD.
Reported by Donald Anderson <dda@ddanderson.com>.

ChangeLog
ltmain.in

index d2f3ea1c1ae6e265652cff977638c3348d3a8168..166a1e362b0269ad0a05878ce7b4d4672f2301c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-17  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * ltmain.in (link mode): When accepting -64, -mips[0-9], et. al.
+       compiler flags, don't set compiler_flags only for GCC as the
+       vendor compiler also requires this flag. Sync with HEAD.
+       Reported by Donald Anderson <dda@ddanderson.com>.
+
 2005-10-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in [darwin]: Don't check for "bundle" in file path. 
index d4547c910023f11e653ace4560d1fcd3b7b1f16d..4de053a484c1369ca89ae64c955fc7a4e32d5cee 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1550,9 +1550,7 @@ EOF
        esac
         compile_command="$compile_command $arg"
         finalize_command="$finalize_command $arg"
-        if test "$with_gcc" = "yes" ; then
-          compiler_flags="$compiler_flags $arg"
-        fi
+        compiler_flags="$compiler_flags $arg"
         continue
         ;;