mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
bsdiff: Also pass down TARGET_CPPFLAGS
Fixes build with external toolchains not having STAGING_DIR in their default search path(s). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> (cherry picked from commit 562ebe798255a2bb71c6a621d6a70662dfbd63c4)
This commit is contained in:
parent
051a33e7c9
commit
1e3ff02ea5
@ -40,10 +40,10 @@ endef
|
||||
|
||||
|
||||
define Build/Compile
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \
|
||||
-o $(PKG_BUILD_DIR)/bsdiff \
|
||||
$(PKG_BUILD_DIR)/bsdiff.c -lbz2
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \
|
||||
-o $(PKG_BUILD_DIR)/bspatch \
|
||||
$(PKG_BUILD_DIR)/bspatch.c -lbz2
|
||||
endef
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user