From: matt mooney Date: Sat, 14 May 2011 10:55:19 +0000 (-0700) Subject: staging: usbip: userspace: modify project gcc flags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c6e79d9922a8199dce9efbdda3e1942b8ee4a0b;p=openwrt%2Fstaging%2Fblogic.git staging: usbip: userspace: modify project gcc flags Add -Werror, remove -Wstrict-prototypes, and change -W to -Wextra. Signed-off-by: matt mooney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/userspace/configure.ac b/drivers/staging/usbip/userspace/configure.ac index d5f6d8e87f87..e3afa159116a 100644 --- a/drivers/staging/usbip/userspace/configure.ac +++ b/drivers/staging/usbip/userspace/configure.ac @@ -18,7 +18,7 @@ LT_INIT # Silent build for automake >= 1.11 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -AC_SUBST([EXTRA_CFLAGS], ["-Wall -W -Wstrict-prototypes -std=gnu99"]) +AC_SUBST([EXTRA_CFLAGS], ["-Wall -Werror -Wextra -std=gnu99"]) # Checks for programs. AC_PROG_CC