From: Andreas Schwab Date: Wed, 22 Aug 2012 01:17:04 +0000 (-0500) Subject: Pass through -g* so that debugging information is not dropped X-Git-Tag: v2.4.2.418~168^2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59f8a3a6e1a26d501e5865f7611d8828aac5579c;p=thirdparty%2Flibtool.git Pass through -g* so that debugging information is not dropped * ltmain.m4sh (func_mode_link): Pass through -g*. --- diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 77a0b5d13..70bb861fd 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5092,11 +5092,11 @@ func_mode_link () # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -stdlib=* select c++ std lib with clang -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg"