[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure mutilates -g option
From: |
Bruce Korb |
Subject: |
configure mutilates -g option |
Date: |
Sat, 12 Jan 2013 12:38:38 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
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'\'' '\''address@hidden'\'''
[....]
+ 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.
- configure mutilates -g option,
Bruce Korb <=