[openwrt/openwrt] zyxel-bootconfig: add CPPFLAGS

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 17 13:27:54 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b8ea5004f4cd3cbc48cb427914a9e46920a68518

commit b8ea5004f4cd3cbc48cb427914a9e46920a68518
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Feb 17 00:55:47 2026 +0100

    zyxel-bootconfig: add CPPFLAGS
    
    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 at hauke-m.de>
---
 package/utils/zyxel-bootconfig/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/utils/zyxel-bootconfig/Makefile b/package/utils/zyxel-bootconfig/Makefile
index 4d1ceb72d5..721a9b8d79 100644
--- a/package/utils/zyxel-bootconfig/Makefile
+++ b/package/utils/zyxel-bootconfig/Makefile
@@ -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
 




More information about the lede-commits mailing list