slackbuilds/system/gnomint/patches/01_cflags.patch

16 lines
383 B
Diff

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