summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/Makefile')
-rw-r--r--extras/volume_id/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 307fdc2f16..8813f9fca5 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -28,7 +28,11 @@ INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
-override CFLAGS+=-Wall -fno-builtin
+override CFLAGS+=-Wall -fno-builtin -Wchar-subscripts -Wmissing-declarations \
+ -Wnested-externs -Wpointer-arith -Wcast-align \
+ -Wsign-compare
+
+override CFLAGS+=-D_FILE_OFFSET_BITS=64
SYSFS = ../../libsysfs/sysfs_bus.o \
../../libsysfs/sysfs_class.o \