libconfig: update to version 1.7.2
[openwrt/staging/dedeckeh.git] / package / libs / lzo / Makefile
index 23d74374c89df2532771bc0946bd0f9add7b1dc0..ef33619d88d5f6bfd06dfd004de4620c9afcae62 100644 (file)
@@ -35,20 +35,13 @@ define Package/liblzo/description
  in real-time. This means it favours speed over compression ratio.
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --enable-shared \
-               --enable-static \
-       )
-endef
+CONFIGURE_ARGS += \
+       --enable-shared \
+       --enable-static \
 
 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/