Reported by Tor Lillqvist <tml@iki.fi>.
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
# -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