From: Hauke Mehrtens Date: Mon, 16 Feb 2026 00:47:01 +0000 (+0100) Subject: 464xlat: add CPPFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca7c2b84669a885c6fe46a30657b1453abef123;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/package/network/ipv6/464xlat/Makefile b/package/network/ipv6/464xlat/Makefile index ab09b1e6ddb..c7469c1e96d 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 3950a6b1dd2..beffe38617a 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