Browse Source

Merge pull request #1860 from karlp/libcoap-endian

libcoap: Pass endian flags down to target
lilik-openwrt-22.03
Steven Barth 9 years ago
parent
commit
6b10101b15
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libs/libcoap/Makefile

+ 4
- 0
libs/libcoap/Makefile View File

@ -42,6 +42,10 @@ CONFIGURE_ARGS += \
--disable-examples \
--disable-documentation
ifeq ($(CONFIG_BIG_ENDIAN),y)
TARGET_CFLAGS += -DWORDS_BIGENDIAN
endif
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/


Loading…
Cancel
Save