From: Mike Frysinger Date: Sun, 28 Jan 2007 14:19:24 +0000 (+0000) Subject: * ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for X-Git-Tag: release-1-5-23b~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=122169549ec054aeda21684dc64d84503f340944;p=thirdparty%2Flibtool.git * ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for GCC. --- diff --git a/ChangeLog b/ChangeLog index 1bba07290..12594448c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-28 Mike Frysinger + + * ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for + GCC. + 2007-01-28 Ralf Wildenhues * libltdl/ltdl.c, libltdl/ltdl.h: Adjust copyright years. diff --git a/ltmain.in b/ltmain.in index fb43da47e..76aaa014d 100644 --- 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.