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>
This commit is contained in:
parent
9b2321f42d
commit
562ebe7982
@ -40,10 +40,10 @@ endef
|
|||||||
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \
|
||||||
-o $(PKG_BUILD_DIR)/bsdiff \
|
-o $(PKG_BUILD_DIR)/bsdiff \
|
||||||
$(PKG_BUILD_DIR)/bsdiff.c -lbz2
|
$(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 \
|
-o $(PKG_BUILD_DIR)/bspatch \
|
||||||
$(PKG_BUILD_DIR)/bspatch.c -lbz2
|
$(PKG_BUILD_DIR)/bspatch.c -lbz2
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user