diff options
author | Daniel Drake <dsd@gentoo.org> | 2007-12-30 22:09:50 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2007-12-30 22:09:50 +0000 |
commit | f4ed0b6a3e0a20555fdfc9e9b8be7e8a2c8ae192 (patch) | |
tree | b12574407019ca52804e61f85a4e1426a68cec58 /configure.ac | |
parent | d3d671efe27491baf1d2ceadbfeeb4e7428d6f9a (diff) | |
download | libusb-f4ed0b6a3e0a20555fdfc9e9b8be7e8a2c8ae192.tar.gz |
Compiler flags update
Also fix some warnings
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9829012..2f1efd0 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,7 @@ AC_ARG_ENABLE([examples-build], [AS_HELP_STRING([--enable-examples-build], AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$build_examples" != "xno"]) AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) -AM_CFLAGS="-Werror-implicit-function-declaration -Wimplicit-int -Wunreachable-code -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wnonnull -Wreturn-type -Wextra -Wshadow" +AM_CFLAGS="-std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" AC_SUBST(AM_CFLAGS) AC_CONFIG_FILES([fpusb.pc] [Makefile] [libfpusb/Makefile] [examples/Makefile]) |