diff options
| author | Hauke Mehrtens | 2026-02-16 23:55:11 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:25:09 +0000 |
| commit | d69b2830681fdaeb2b19b28231e9171684ead6d1 (patch) | |
| tree | 7756acb3089d1cf44ad8daca6e44b1a3c31147a1 | |
| parent | 0f1c1c581f67b22b538fc2dfe3387bc7b3f5bbc3 (diff) | |
| download | openwrt-d69b2830681fdaeb2b19b28231e9171684ead6d1.tar.gz | |
wireless-tools: add CPPFLAGS
Add the OpenWrt CPPFLAGS to the CFLAGS. wireless-tools 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/network/utils/wireless-tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wireless-tools/Makefile b/package/network/utils/wireless-tools/Makefile index 9a19970af8..95d1f5b2c4 100644 --- a/package/network/utils/wireless-tools/Makefile +++ b/package/network/utils/wireless-tools/Makefile @@ -59,7 +59,7 @@ define Build/Compile mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I." \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I." \ LDFLAGS="$(TARGET_LDFLAGS)" \ BUILD_WE_ESSENTIAL=y \ LIBS="-lm -Wl,--gc-sections" \ |