summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:55:47 +0000
committerHauke Mehrtens2026-02-17 21:25:09 +0000
commitb8ea5004f4cd3cbc48cb427914a9e46920a68518 (patch)
tree4ddd11d743979f5a01d7384023392975d08920fe
parentddb1c1ab330cb88ca9c58ba6c33d55e6dc70f240 (diff)
downloadopenwrt-b8ea5004f4cd3cbc48cb427914a9e46920a68518.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>
-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