diff options
author | Phil Sutter <phil@nwl.cc> | 2025-09-09 00:14:16 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2025-09-09 12:18:03 +0200 |
commit | 229fa8b440b67debb12beca830e57a9ea25a2745 (patch) | |
tree | b7f80dda63d9dfaf08d3efdd06aa6d2c29402033 /configure.ac | |
parent | 083c532a2e179ec350881ff5444f35c58b99937f (diff) |
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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index da16a6e2..3517ea04 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 \ |