summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:53:31 +0000
committerHauke Mehrtens2026-02-17 21:25:09 +0000
commit0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3 (patch)
tree2cd86966d9925ee2961d2c435d54e0b2804dd27b
parentbfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9 (diff)
downloadopenwrt-0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3.tar.gz
resolveip: 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>
-rw-r--r--package/network/utils/resolveip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/resolveip/Makefile b/package/network/utils/resolveip/Makefile
index fb8d40619a..769054ebc9 100644
--- a/package/network/utils/resolveip/Makefile
+++ b/package/network/utils/resolveip/Makefile
@@ -29,7 +29,7 @@ define Package/resolveip/description
endef
define Build/Compile
- $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wall \
+ $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wall \
-o $(PKG_BUILD_DIR)/resolveip $(PKG_BUILD_DIR)/resolveip.c
endef