From: Albert Chin-A-Young Date: Tue, 18 Oct 2005 07:26:05 +0000 (+0000) Subject: * ltmain.in (link mode): When accepting -64, -mips[0-9], et. al. X-Git-Tag: release-1-5-22~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dc954712897500bfb720540be7fc216a6bf60cc;p=thirdparty%2Flibtool.git * 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 . --- diff --git a/ChangeLog b/ChangeLog index d2f3ea1c1..166a1e362 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-10-17 Albert Chin-A-Young + + * 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 . + 2005-10-17 Ralf Wildenhues * ltmain.in [darwin]: Don't check for "bundle" in file path. diff --git a/ltmain.in b/ltmain.in index d4547c910..4de053a48 100644 --- 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 ;;