SHA256
1
0
forked from pool/libgtpnl
libgtpnl/0002-build-fix-bashims-in-configure.ac.patch
2024-10-21 00:16:55 +02:00

35 lines
1.1 KiB
Diff

From a715dea96006914b46b6eb108db36a25d8ea3f24 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 21 Oct 2024 00:13:46 +0200
Subject: [PATCH 2/2] build: fix bashims in configure.ac
$ foo=bar
$ foo+=zzz
dash: 2: foo+=zzz: not found
Fixes: 1.2.5-6-g0bd1e0d
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6eabd32..24658a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,9 +71,9 @@ AC_ARG_ENABLE(werror,
if test x"$werror" = x"yes"
then
WERROR_FLAGS="-Werror"
- WERROR_FLAGS+=" -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition"
- WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations"
- WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
+ WERROR_FLAGS="$WERROR_FLAGS -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition"
+ WERROR_FLAGS="$WERROR_FLAGS -Wno-error=deprecated -Wno-error=deprecated-declarations"
+ WERROR_FLAGS="$WERROR_FLAGS -Wno-error=cpp" # "#warning"
regular_CFLAGS="$WERROR_FLAGS"
regular_CPPFLAGS="$WERROR_FLAGS"
fi
--
2.47.0