diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-08-21 20:17:04 -0500 |
---|---|---|
committer | Peter O'Gorman <peter@pogma.com> | 2012-08-21 20:17:04 -0500 |
commit | 9b726f35db98da01a7edaf143788cba2c2ae900a (patch) | |
tree | f71d6e95fcc8b97acc0ec5d6769efb7e004a76e5 | |
parent | 70bac1d7cc3e2c955bfd0769d448c4d818a1e2b8 (diff) | |
download | libtool-9b726f35db98da01a7edaf143788cba2c2ae900a.tar.gz |
Pass through -g* so that debugging information is not dropped
* ltmain.m4sh (func_mode_link): Pass through -g*.
-rw-r--r-- | build-aux/ltmain.m4sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 48e259b6..1d71f0e2 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5090,11 +5090,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" |