From 005526d065b73ee70a0a74223770e4dd2e7e1de2 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 5 Feb 2015 14:46:47 +0100 Subject: 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 --- Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index f3da51d8..0b92844b 100644 --- a/Makefile.in +++ b/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@ -- cgit v1.2.3