configure mutilates -g option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

GCC's -g option takes an optional argument.
If you add to the command line:
   ./configure --enable-debug --disable-fast-install CFLAGS=-ggdb3

at some point, the script will remove the "-g" and then add it back in with a space


+ eval 'ac_val=$ac_configure_args'
++ ac_val=' '\''--enable-debug'\'' '\''--disable-fast-install'\'' '\''CFLAGS=-ggdb3'\'' '\''CC=/usr/bin/gcc'\'' '\''--with-packager=Bruce'\'' '\''--with-packager-version=2013-01-12'\'' '\''--with-packager-bug-reports=bkorb@xxxxxxx'\'''
[....]

+ eval 'ac_val=$ac_cv_env_CFLAGS_value'
++ ac_val=-ggdb3

+ eval 'ac_val=$ac_save_CFLAGS'
++ ac_val=-ggdb3

+ eval 'ac_val=$ac_try_echo'
++ ac_val='configure:16225: /usr/bin/gcc -std=gnu99 -o conftest -g gdb3   conftest.c -ldl  >&5'

I'd like to find the cause, but I just don't have the hours it would take.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux