slackbuilds_ponce/system/gnomint/patches/01_cflags.patch
Matteo Bernardini b49f59790d system/gnomint: Apply patches from debian.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:25:25 -05:00

15 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