forked from Mirrors/btrfs-progs
btrfs-progs: autoconf: set CFLAGS conditionally
The expected way to define custom CFLAGS is $ export CFLAGS=... $ ./configure ... the build will use them. No not override the make variables directly from now on. Signed-off-by: David Sterba <dsterba@suse.cz>master
parent
4aa32c9deb
commit
9143fda114
|
@ -8,7 +8,8 @@ LIBBTRFS_MAJOR=0
|
|||
LIBBTRFS_MINOR=1
|
||||
LIBBTRFS_PATCHLEVEL=1
|
||||
|
||||
CFLAGS="-g -O1"
|
||||
CFLAGS=${CFLAGS:-"-g -O1"}
|
||||
AC_SUBST([CFLAGS])
|
||||
|
||||
AC_PREREQ([2.60])
|
||||
|
||||
|
|
Loading…
Reference in New Issue