From 0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 17 Feb 2026 00:53:31 +0100 Subject: [PATCH] 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 --- 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 fb8d40619a8..769054ebc9c 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 -- 2.47.3