summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:53:31 +0000
committerHauke Mehrtens2026-02-17 21:30:27 +0000
commit551beecf5956dac9b8d30e0542fc107be4e8dd71 (patch)
treefe6d3726094fbe4d8c5b078293bf7e3be0aba180
parent0cd63fda4cdd888b35e705166a66ed6b0cc73cc7 (diff)
downloadopenwrt-551beecf5956dac9b8d30e0542fc107be4e8dd71.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> (cherry picked from commit 0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3)
-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