summaryrefslogtreecommitdiffstats
path: root/system/gnomint/patches/01_cflags.patch
blob: abf31b635751f332d2d97541ed1e186de75f78ec (plain)
Author: Daniel Baumann <daniel@debian.org>
Description:
 Don't hardcode CFLAGS and respect the environment (Closes: #634395).

--- gnomint-1.3.0.orig/configure.ac
+++ gnomint-1.3.0/configure.ac
@@ -182,7 +182,7 @@
 
 dnl
 if test "x$GCC" = "xyes"; then
-	CFLAGS="-Wall -Werror "
+	CFLAGS="${CFLAGS:--Wall}"
 	if test "x$use_debug" = "xYes"; then
    	   CFLAGS="$CFLAGS -g -O0"
 	fi