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:
b497c3f
)
bzip2: add CPPFLAGS
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 16 Feb 2026 00:48:09 +0000
(
01:48
+0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:05 +0000
(22:25 +0100)
Add the OpenWrt CPPFLAGS to the CFLAGS. bzip2 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/utils/bzip2/Makefile
patch
|
blob
|
history
diff --git
a/package/utils/bzip2/Makefile
b/package/utils/bzip2/Makefile
index 7ae089f4f4185ff14a42c3da8719e91b3c6a765c..01fff144566edd2da021157779ca5fb11a27303e 100644
(file)
--- a/
package/utils/bzip2/Makefile
+++ b/
package/utils/bzip2/Makefile
@@
-62,7
+62,7
@@
CONFIGURE_ARGS += --prefix=/usr
MAKE_FLAGS += \
-f Makefile-libbz2_so \
- CFLAGS="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS)
$(TARGET_CPPFLAGS)
" \
LDFLAGS="$(TARGET_LDFLAGS)" \
all
@@
-92,7
+92,7
@@
HOST_CFLAGS += \
$(FPIC)
HOST_MAKE_FLAGS+= \
- CFLAGS="$(HOST_CFLAGS)" \
+ CFLAGS="$(HOST_CFLAGS)
$(HOST_CPPFLAGS)
" \
LDFLAGS="$(HOST_LDFLAGS)" \
all