Browse Source

iwcap: add CPPFLAGS

Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify
sources support.

Link: https://github.com/openwrt/openwrt/pull/22056
Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 3 days ago
parent
commit
bfd57eab3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/utils/iwcap/Makefile

+ 1 - 1
package/network/utils/iwcap/Makefile

@@ -33,7 +33,7 @@ define Build/Configure
 endef
 endef
 
 
 define Build/Compile
 define Build/Compile
-	$(TARGET_CC) $(TARGET_CFLAGS) \
+	$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) \
 		-o $(PKG_BUILD_DIR)/iwcap $(PKG_BUILD_DIR)/iwcap.c
 		-o $(PKG_BUILD_DIR)/iwcap $(PKG_BUILD_DIR)/iwcap.c
 endef
 endef