From: Mike Frysinger Date: Sun, 28 Jan 2007 14:18:59 +0000 (+0000) Subject: * libltdl/config/ltmain.m4sh (func_mode_link): Pass through X-Git-Tag: release-2-1b~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a0f7805209c0658bc9a2a196151b7b45476463;p=thirdparty%2Flibtool.git * libltdl/config/ltmain.m4sh (func_mode_link): Pass through `-p' and `-fprofile-*' for GCC. --- diff --git a/ChangeLog b/ChangeLog index c6c9ff093..612370670 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-28 Mike Frysinger + + * libltdl/config/ltmain.m4sh (func_mode_link): Pass through + `-p' and `-fprofile-*' for GCC. + 2007-01-28 Ralf Wildenhues * libltdl/libltdl/lt_system.h: Adjust copyright years. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index fa2cd0faa..cb5a97126 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2901,10 +2901,10 @@ func_mode_link () # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin - # -pg, --coverage pass through profiling flag for GCC + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # @file GCC response files -64|-mips[[0-9]]|-r[[0-9]][[0-9]]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[[45]]*|-txscale*|-pg|--coverage|-F*|@*) + -t[[45]]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg"