[openwrt/openwrt] resolveip: add CPPFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 17 13:32:14 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/551beecf5956dac9b8d30e0542fc107be4e8dd71
commit 551beecf5956dac9b8d30e0542fc107be4e8dd71
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Feb 17 00:53:31 2026 +0100
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 at hauke-m.de>
(cherry picked from commit 0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3)
---
package/network/utils/resolveip/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the lede-commits
mailing list