mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
libs/lzo: Reenable unaligned access on ARM, PPC, ...
Due a compiler bug on ARM targets
( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64516 )
unaligned access was disabled on all targets other than i386 and
x86_64 with commit 061319ec3d
.
A fix has been added to lzo-2.09 so it is not necessary to disable
unaligned access within the Makefile anymore.
Signed-off-by: Stefan Oberhumer <stefan@obssys.com>
This commit is contained in:
parent
f28b3bb56a
commit
06e41056aa
@ -42,10 +42,6 @@ CONFIGURE_ARGS += \
|
|||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
MAKE_FLAGS += CFLAGS_O="$(TARGET_CFLAGS)"
|
MAKE_FLAGS += CFLAGS_O="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
ifeq ($(CONFIG_i386)$(CONFIG_x86_64),)
|
|
||||||
TARGET_CFLAGS += -DLZO_CFG_NO_UNALIGNED=1
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/lzo $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/lzo $(1)/usr/include/
|
||||||
|
Loading…
Reference in New Issue
Block a user