projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b6be7
)
libcoap: Pass endian flags down to target
author
Karl Palsson
<
[email protected]
>
Wed, 14 Oct 2015 17:18:08 +0000
(17:18 +0000)
committer
Karl Palsson
<
[email protected]
>
Wed, 14 Oct 2015 17:18:08 +0000
(17:18 +0000)
Fixes github issue #1856
Signed-off-by: Karl Palsson <
[email protected]
>
libs/libcoap/Makefile
patch
|
blob
|
history
diff --git
a/libs/libcoap/Makefile
b/libs/libcoap/Makefile
index 41d553599a63a915423280a476048e1d6e7f3a7f..8e6ef5d250324b5d42ddfcb44f2f23be00e31622 100644
(file)
--- a/
libs/libcoap/Makefile
+++ b/
libs/libcoap/Makefile
@@
-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/