]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
zyxel-bootconfig: add CPPFLAGS
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Feb 2026 23:55:47 +0000 (00:55 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000 (22:25 +0100)
Add the OpenWrt CPPFLAGS to the CFLAGS. zyxel-bootconfig does not
support CPPFLAGS. This fixes fortify sources support.

Link: https://github.com/openwrt/openwrt/pull/22056
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/zyxel-bootconfig/Makefile

index 4d1ceb72d59a95471f549f568a6de9a8af419cbf..721a9b8d798ad14fdd1bd1e53457c7a00fdb01c8 100644 (file)
@@ -26,7 +26,7 @@ endef
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC="$(TARGET_CC)" \
-               CFLAGS="$(TARGET_CFLAGS) -Wall" \
+               CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -Wall" \
                LDFLAGS="$(TARGET_LDFLAGS)"
 endef