]> git.ipfire.org Git - thirdparty/nftables.git/commit
Makefile: Fix for 'make CFLAGS=...'
authorPhil Sutter <phil@nwl.cc>
Mon, 8 Sep 2025 22:14:16 +0000 (00:14 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 9 Sep 2025 10:18:03 +0000 (12:18 +0200)
commit229fa8b440b67debb12beca830e57a9ea25a2745
treeb7f80dda63d9dfaf08d3efdd06aa6d2c29402033
parent083c532a2e179ec350881ff5444f35c58b99937f
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>
Makefile.am
configure.ac