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:
53e6935
)
iwcap: add CPPFLAGS
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 16 Feb 2026 23:53:21 +0000
(
00:53
+0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000
(22:25 +0100)
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 <hauke@hauke-m.de>
package/network/utils/iwcap/Makefile
patch
|
blob
|
history
diff --git
a/package/network/utils/iwcap/Makefile
b/package/network/utils/iwcap/Makefile
index 7b43d6222aeabab9dc815f9f30d5a300e33cccac..cc63a2ebb34b761a35c3c6f8c422307d6ae4e748 100644
(file)
--- a/
package/network/utils/iwcap/Makefile
+++ b/
package/network/utils/iwcap/Makefile
@@
-33,7
+33,7
@@
define Build/Configure
endef
define Build/Compile
- $(TARGET_CC) $(TARGET_CFLAGS) \
+ $(TARGET_CC) $(TARGET_C
PPFLAGS) $(TARGET_C
FLAGS) \
-o $(PKG_BUILD_DIR)/iwcap $(PKG_BUILD_DIR)/iwcap.c
endef