From: Ralf Wildenhues Date: Sat, 2 May 2009 08:24:28 +0000 (+0200) Subject: Allow through -tp=* at link time, for pgcc. X-Git-Tag: v2.2.7b~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d560c68d815824d284661354e525d1936c823b9;p=thirdparty%2Flibtool.git Allow through -tp=* at link time, for pgcc. * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group pgcc uses `-tp=PROCESSOR' for target processor selection; allow the flag through at link time. Report by Ethan Mallove. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index fa3132321..2109e25db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-05-02 Ralf Wildenhues + Allow through -tp=* at link time, for pgcc. + * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group + pgcc uses `-tp=PROCESSOR' for target processor selection; allow + the flag through at link time. + Report by Ethan Mallove. + Fix quoting of eval'ed variable. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Double-quote $lt_cv_sys_global_symbol_pipe for eval, like we do in ltmain, diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index fd5b1c77f..560930443 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -4494,8 +4494,9 @@ func_mode_link () # -F/path gives path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # @file GCC response files + # -tp=* Portland pgcc target processor selection -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg"