summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/mbuffer/files/mbuffer-20240107-O0-for-libc-name-find.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-block/mbuffer/files/mbuffer-20240107-O0-for-libc-name-find.patch b/sys-block/mbuffer/files/mbuffer-20240107-O0-for-libc-name-find.patch
index b176c3dfe907..e2d452f966e2 100644
--- a/sys-block/mbuffer/files/mbuffer-20240107-O0-for-libc-name-find.patch
+++ b/sys-block/mbuffer/files/mbuffer-20240107-O0-for-libc-name-find.patch
@@ -23,7 +23,7 @@ index 95d6772..081625a 100644
if test -z "$OBJDUMP"; then
AC_MSG_WARN([unable to find objdump, which is needed to run tests])
else
-+ m4_pushdef([ORIGINAL_CFLAGS], [$CFLAGS])
++ old_CFLAGS="${CFLAGS}"
+ CFLAGS="-O0"
AC_MSG_CHECKING([linking open() and write() to detect libc names])
AC_LINK_IFELSE([
@@ -32,7 +32,7 @@ index 95d6772..081625a 100644
],
[AC_MSG_FAILURE([failed to link open/write test])]
)
-+ CFLAGS="${ORIGINAL_CFLAGS}"
++ CFLAGS="${old_CFLAGS}"
fi