From 122169549ec054aeda21684dc64d84503f340944 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Jan 2007 14:19:24 +0000 Subject: [PATCH] * ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for GCC. --- ChangeLog | 5 +++++ ltmain.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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. -- 2.47.3