]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
resolveip: add CPPFLAGS
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Feb 2026 23:53:31 +0000 (00:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000 (22:25 +0100)
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>
package/network/utils/resolveip/Makefile

index fb8d40619a8ca8dc36e21067d8eff2be0849b988..769054ebc9cd7e179fb4eccdbcb4e31df1ddfa8e 100644 (file)
@@ -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