mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
libcoap: Pass endian flags down to target
Fixes github issue #1856 Signed-off-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
@@ -42,6 +42,10 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-examples \
|
--disable-examples \
|
||||||
--disable-documentation
|
--disable-documentation
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_BIG_ENDIAN),y)
|
||||||
|
TARGET_CFLAGS += -DWORDS_BIGENDIAN
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user