forked from Mirrors/btrfs-progs
btrfs-progs: autoconf: move custom CFLAGS from makefile
Keep only flags that are required to build properly, current fine tunings are moved to the optional defaults in configure and can be overriden by the user. Signed-off-by: David Sterba <dsterba@suse.cz>master
parent
9143fda114
commit
005526d065
10
Makefile.in
10
Makefile.in
|
@ -10,12 +10,14 @@ INSTALL = @INSTALL@
|
|||
DISABLE_DOCUMENTATION = @DISABLE_DOCUMENTATION@
|
||||
DISABLE_BTRFSCONVERT = @DISABLE_BTRFSCONVERT@
|
||||
|
||||
# Non-static compilation flags
|
||||
# Common build flags
|
||||
CFLAGS = @CFLAGS@ \
|
||||
-include config.h -Wall \
|
||||
-D_FILE_OFFSET_BITS=64 -DBTRFS_FLAT_INCLUDES \
|
||||
-include config.h \
|
||||
-D_FILE_OFFSET_BITS=64 \
|
||||
-DBTRFS_FLAT_INCLUDES \
|
||||
-D_XOPEN_SOURCE=700 \
|
||||
-fno-strict-aliasing -fPIC \
|
||||
-fno-strict-aliasing \
|
||||
-fPIC \
|
||||
-rdynamic
|
||||
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
|
|
@ -8,7 +8,7 @@ LIBBTRFS_MAJOR=0
|
|||
LIBBTRFS_MINOR=1
|
||||
LIBBTRFS_PATCHLEVEL=1
|
||||
|
||||
CFLAGS=${CFLAGS:-"-g -O1"}
|
||||
CFLAGS=${CFLAGS:-"-g -O1 -Wall"}
|
||||
AC_SUBST([CFLAGS])
|
||||
|
||||
AC_PREREQ([2.60])
|
||||
|
|
Loading…
Reference in New Issue