1 Minor build system fixes
3 Usual build system fixes to allow CC/CFLAGS/LDFLAGS to be overriden
4 from the command line, and completed by additional flags from the
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 ===================================================================
14 # (at your option) any later version.
18 -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
19 - -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
22 + -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
23 + -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
25 # Let lseek and mmap support 64-bit wide offsets
26 CFLAGS += -D_FILE_OFFSET_BITS=64
27 @@ -27,7 +28,7 @@ CFLAGS += -O2
30 # Pass linker flags here