Makefile.am: Add some stuff to AM_CFLAGS
authorEric Biggers <ebiggers3@gmail.com>
Sat, 18 May 2013 02:18:54 +0000 (21:18 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 18 May 2013 02:18:54 +0000 (21:18 -0500)
Makefile.am

index 6feab393f3be127b5f33e75336e7148f278fae51..75ed97168a1f8f8c3d4565235aca651541559b22 100644 (file)
@@ -2,7 +2,11 @@ ACLOCAL_AMFLAGS = -I m4
 
 AM_CPPFLAGS    = -I$(top_srcdir)/include $(WINDOWS_CPPFLAGS) \
                  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-AM_CFLAGS      = -std=gnu99 -Wmissing-prototypes -Wstrict-prototypes
+
+AM_CFLAGS      = -std=gnu99 -Wmissing-prototypes -Wstrict-prototypes   \
+                 -Werror-implicit-function-declaration                 \
+                 -fno-common -Wundef -Wno-pointer-sign
+
 
 lib_LTLIBRARIES = libwim.la
 
@@ -49,7 +53,6 @@ libwim_la_SOURCES =           \
        src/xpress-decompress.c \
        include/wimlib/apply.h          \
        include/wimlib/assert.h         \
-       include/wimlib/buffer_io.h      \
        include/wimlib/callback.h       \
        include/wimlib/capture.h        \
        include/wimlib/compiler.h       \