diff options
| author | Hauke Mehrtens | 2026-02-16 00:47:01 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:30:20 +0000 |
| commit | 790aaa5b07c2fb9f0c03e827be7e9c1e026d7d97 (patch) | |
| tree | fbc1c81887898b48b2d9e64ad6c8db28bd34efea | |
| parent | 361be894b3bf104e782f53105c1d48bfc972a21b (diff) | |
| download | openwrt-790aaa5b07c2fb9f0c03e827be7e9c1e026d7d97.tar.gz | |
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@hauke-m.de>
(cherry picked from commit 2ca7c2b84669a885c6fe46a30657b1453abef123)
| -rw-r--r-- | package/network/ipv6/464xlat/Makefile | 1 | ||||
| -rw-r--r-- | package/network/ipv6/464xlat/src/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
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 |