* Thu Nov 20 2025 Phil Sutter <psutter@redhat.com> [1.1.5-1.el10] - doc: libnftables-json: Describe RULESET object (Phil Sutter) [RHEL-121194] - doc: don't suggest to disable GSO (Phil Sutter) [RHEL-121194] - build: don't install ancillary files without systemd service file (Phil Sutter) [RHEL-121194] - tests: shell: fix typo in vmap_timeout test script (Phil Sutter) [RHEL-121194] - tests: py: inet/osf.t: Fix element ordering in JSON equivalents (Phil Sutter) [RHEL-121194] - tests: py: any/ct.t.json.output: Drop leftover entry (Phil Sutter) [RHEL-121194] - tests: py: any/tcpopt.t.json: Fix JSON equivalent (Phil Sutter) [RHEL-121194] - optimize: Fix verdict expression comparison (Phil Sutter) [RHEL-121194] - datatype: Fix boolean type on Big Endian (Phil Sutter) [RHEL-121194] - src: parser_json: fix format string bugs (Phil Sutter) [RHEL-121194] - doc: fix tcpdump example (Phil Sutter) [RHEL-121194] - libnftables: do not re-add default include directory in include search path (Phil Sutter) [RHEL-121194] - monitor: Inform JSON printer when reporting an object delete event (Phil Sutter) [RHEL-121194] - tests: shell: skip two bitwise tests if multi-register support isn't available (Phil Sutter) [RHEL-121194] - tests: monitor: Fix regex collecting expected echo output (Phil Sutter) [RHEL-121194] - monitor: Quote device names in chain declarations, too (Phil Sutter) [RHEL-121194] - tools: gitignore nftables.service file (Phil Sutter) [RHEL-121194] - parser_bison: remove leftover utf-8 character in error (Phil Sutter) [RHEL-121194] - Rebase onto version 1.1.5 (Phil Sutter) [RHEL-121194] Resolves: RHEL-121194
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
From d930a5aa54976ceb1a28bc5002273f7b96fc8684 Mon Sep 17 00:00:00 2001
|
|
From: Phil Sutter <psutter@redhat.com>
|
|
Date: Tue, 9 Sep 2025 16:50:13 +0200
|
|
Subject: [PATCH] Makefile: Fix for 'make CFLAGS=...'
|
|
|
|
JIRA: https://issues.redhat.com/browse/RHEL-108851
|
|
Upstream Status: nftables commit 229fa8b440b67debb12beca830e57a9ea25a2745
|
|
|
|
commit 229fa8b440b67debb12beca830e57a9ea25a2745
|
|
Author: Phil Sutter <phil@nwl.cc>
|
|
Date: Tue Sep 9 00:14:16 2025 +0200
|
|
|
|
Makefile: Fix for 'make CFLAGS=...'
|
|
|
|
Appending to CFLAGS from configure.ac like this was too naive, passing
|
|
custom CFLAGS in make arguments overwrites it. Extend AM_CFLAGS instead.
|
|
|
|
Fixes: 64c07e38f0494 ("table: Embed creating nft version into userdata")
|
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|
|
|
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
|
---
|
|
Makefile.am | 2 ++
|
|
configure.ac | 1 -
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 243071e..4035e65 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -155,6 +155,8 @@ AM_CFLAGS = \
|
|
\
|
|
$(GCC_FVISIBILITY_HIDDEN) \
|
|
\
|
|
+ -DMAKE_STAMP=$(MAKE_STAMP) \
|
|
+ \
|
|
$(NULL)
|
|
|
|
AM_YFLAGS = -d -Wno-yacc
|
|
diff --git a/configure.ac b/configure.ac
|
|
index da16a6e..3517ea0 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -153,7 +153,6 @@ AC_CONFIG_COMMANDS([nftversion.h], [
|
|
# Current date should be fetched exactly once per build,
|
|
# so have 'make' call date and pass the value to every 'gcc' call
|
|
AC_SUBST([MAKE_STAMP], ["\$(shell date +%s)"])
|
|
-CFLAGS="${CFLAGS} -DMAKE_STAMP=\${MAKE_STAMP}"
|
|
|
|
AC_CONFIG_FILES([ \
|
|
Makefile \
|