[openwrt/openwrt] 464xlat: add CPPFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 17 13:27:46 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2ca7c2b84669a885c6fe46a30657b1453abef123
commit 2ca7c2b84669a885c6fe46a30657b1453abef123
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Feb 16 01:47:01 2026 +0100
464xlat: add CPPFLAGS
Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify
sources support.
Link: https://github.com/openwrt/openwrt/pull/22056
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/network/ipv6/464xlat/Makefile | 1 +
package/network/ipv6/464xlat/src/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/network/ipv6/464xlat/Makefile b/package/network/ipv6/464xlat/Makefile
index ab09b1e6dd..c7469c1e96 100644
--- a/package/network/ipv6/464xlat/Makefile
+++ b/package/network/ipv6/464xlat/Makefile
@@ -25,6 +25,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -Wall" \
+ CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)"
endef
diff --git a/package/network/ipv6/464xlat/src/Makefile b/package/network/ipv6/464xlat/src/Makefile
index 3950a6b1dd..beffe38617 100644
--- a/package/network/ipv6/464xlat/src/Makefile
+++ b/package/network/ipv6/464xlat/src/Makefile
@@ -1,7 +1,7 @@
all: 464xlatcfg
464xlatcfg: 464xlatcfg.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $<
clean:
rm -f 464xlatcfg
More information about the lede-commits
mailing list