* libltdl/config/ltmain.m4sh (func_mode_link): Allow some

ARM gcc ABI flags through.
Reported by Andrés Moré <more.andres@gmail.com>.
This commit is contained in:
Ralf Wildenhues 2005-09-17 07:38:28 +00:00
parent 712d8c54bd
commit 815e595f9e
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2005-09-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/config/ltmain.m4sh (func_mode_link): Allow some
ARM gcc ABI flags through.
Reported by Andrés Moré <more.andres@gmail.com>.
* Makefile.am (all-local): Rebuild libltdl/Makefile.in.
* libltdl/m4/ltdl.m4 (LTDL_INIT) <CONFIG_H>: Rename to..

View File

@ -2814,8 +2814,10 @@ func_mode_link ()
# -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]]|-r[[0-9]][[0-9]]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
# -m*, -t[45]*, -txscale* pass through architecture-specific
# compiler args for GCC
-64|-mips[[0-9]]|-r[[0-9]][[0-9]]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[[45]]*|-txscale*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
compile_command="$compile_command $arg"