From: Ralf Wildenhues Date: Sun, 20 Nov 2005 14:09:00 +0000 (+0000) Subject: * ltmain.in (link mode): Pass through `-pg', for GCC. X-Git-Tag: release-1-5-22~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c899bc8cda6fa307a54fa88f78d4a7fa1c178df;p=thirdparty%2Flibtool.git * ltmain.in (link mode): Pass through `-pg', for GCC. Reported by Tor Lillqvist . --- diff --git a/ChangeLog b/ChangeLog index cdf797caa..4595a95e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-11-20 Ralf Wildenhues + * ltmain.in (link mode): Pass through `-pg', for GCC. + Reported by Tor Lillqvist . + * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) (AC_LIBTOOL_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set whole_archive_flag_spec to $convenience so the convenience libs diff --git a/ltmain.in b/ltmain.in index 8b0a60274..29c60a9ee 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1546,8 +1546,9 @@ EOF # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -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*| \ + # compiler args for GCC + # -pg pass through profiling flag for GCC + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ -t[45]*|-txscale*) # Unknown arguments in both finalize_command and compile_command need