From 9dc954712897500bfb720540be7fc216a6bf60cc Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Tue, 18 Oct 2005 07:26:05 +0000 Subject: [PATCH] * 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 . --- ChangeLog | 7 +++++++ ltmain.in | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) 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 ;; -- 2.47.3