projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1c1c5
)
wireless-tools: add CPPFLAGS
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 16 Feb 2026 23:55:11 +0000
(
00:55
+0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000
(22:25 +0100)
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>
package/network/utils/wireless-tools/Makefile
patch
|
blob
|
history
diff --git
a/package/network/utils/wireless-tools/Makefile
b/package/network/utils/wireless-tools/Makefile
index 9a19970af8dc660755ab56b4a98f95ffbf21dc45..95d1f5b2c4f93134710eb0ad2b479b52561e41c3 100644
(file)
--- 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" \