]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link mode): Pass through `-pg', for GCC.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 14:09:00 +0000 (14:09 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 14:09:00 +0000 (14:09 +0000)
Reported by Tor Lillqvist <tml@iki.fi>.

ChangeLog
ltmain.in

index cdf797caa16c50b5136ddfb68c4ccc7076d426ce..4595a95e5c4489f5b7b338beb9d7f1df7b0afa34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-11-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
+       * ltmain.in (link mode): Pass through `-pg', for GCC.
+       Reported by Tor Lillqvist <tml@iki.fi>.
+
        * 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
index 8b0a602743cedd508bccb156e8297482bcd832b6..29c60a9ee672b579102d3615fb9def0f3d1c08ad 100644 (file)
--- 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