]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for
authorMike Frysinger <vapier@gentoo.org>
Sun, 28 Jan 2007 14:19:24 +0000 (14:19 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 28 Jan 2007 14:19:24 +0000 (14:19 +0000)
GCC.

ChangeLog
ltmain.in

index 1bba07290a7cf0498a5ea122217bf2df7c6ab9d2..12594448c1d742663a85fb88b4cef3ede954656c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for
+       GCC.
+
 2007-01-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/ltdl.c, libltdl/ltdl.h: Adjust copyright years.
index fb43da47e00188e2d649b7ec459b7f1ad1680c19..76aaa014dca7b3474a895a2a4b6627d5dea1019a 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1659,11 +1659,11 @@ EOF
       # -m* pass through architecture-specific compiler args for GCC
       # -m*, -t[45]*, -txscale* pass through architecture-specific
       # compiler args for GCC
-      # -pg, --coverage pass through profiling flag for GCC
+      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
       # -F/path gives path to uninstalled frameworks, gcc on darwin
       # @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*|@*)
 
        # Unknown arguments in both finalize_command and compile_command need
        # to be aesthetically quoted because they are evaled later.