aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/lzo
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/lzo')
-rw-r--r--package/libs/lzo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile
index b2bab05f3e..6a88a6f384 100644
--- a/package/libs/lzo/Makefile
+++ b/package/libs/lzo/Makefile
@@ -45,6 +45,10 @@ endef
TARGET_CFLAGS += $(FPIC)
MAKE_FLAGS += CFLAGS_O="$(TARGET_CFLAGS)"
+ifeq ($(CONFIG_i386)$(CONFIG_x86_64),)
+ TARGET_CFLAGS += -DLZO_CFG_NO_UNALIGNED=1
+endif
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/include/lzo $(1)/usr/include/