Explorar o código

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 <[email protected]>
Hauke Mehrtens hai 4 días
pai
achega
b8ea5004f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/utils/zyxel-bootconfig/Makefile

+ 1 - 1
package/utils/zyxel-bootconfig/Makefile

@@ -26,7 +26,7 @@ endef
 define Build/Compile
 define Build/Compile
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 		CC="$(TARGET_CC)" \
 		CC="$(TARGET_CC)" \
-		CFLAGS="$(TARGET_CFLAGS) -Wall" \
+		CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -Wall" \
 		LDFLAGS="$(TARGET_LDFLAGS)"
 		LDFLAGS="$(TARGET_LDFLAGS)"
 endef
 endef