summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:55:47 +0000
committerHauke Mehrtens2026-02-17 21:30:32 +0000
commitacad156c0679a59dd42c8c1cd3c4e959a7bff084 (patch)
tree5ab9dbc2b79ed4e0937a1a03475d91eaee7af396
parente0bad5bf1f35bf70487b13d0ab5c63d487024228 (diff)
downloadopenwrt-acad156c0679a59dd42c8c1cd3c4e959a7bff084.tar.gz
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@hauke-m.de> (cherry picked from commit b8ea5004f4cd3cbc48cb427914a9e46920a68518)
-rw-r--r--package/utils/zyxel-bootconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
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