configure: wrapper CFLAGS inherit if already set
It is usual for the user to have control of CFLAGS like: CFLAGS="-O2" ./configure
This commit is contained in:
parent
ebf2db91b1
commit
80c043db79
|
|
@ -9,4 +9,4 @@
|
||||||
# script itself. It also sets up CFLAGS without the default optimizer
|
# script itself. It also sets up CFLAGS without the default optimizer
|
||||||
# flag (-O2).
|
# flag (-O2).
|
||||||
|
|
||||||
( CFLAGS="-g"; export CFLAGS; cd scripts ; ./configure "$@" )
|
( CFLAGS=${CFLAGS:-"-g"}; export CFLAGS; cd scripts ; ./configure "$@" )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue