summaryrefslogtreecommitdiffstats
path: root/recipes/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch
blob: 1b06945d1a3d6193369e9f1fd1a69d62da7a91e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: libusb-0.9.0/configure.ac
===================================================================
--- libusb-0.9.0.orig/configure.ac	2008-07-21 08:04:03.000000000 +0200
+++ libusb-0.9.0/configure.ac	2008-07-21 08:04:16.000000000 +0200
@@ -62,7 +62,7 @@
 CFLAGS="$saved_cflags"
 
 AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
+AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow"
 AC_SUBST(AM_CFLAGS)
 
 AC_CONFIG_FILES([libusb-1.0.pc] [Makefile] [libusb/Makefile] [examples/Makefile] [doc/Makefile])