From: Nicolas Thill Date: Sun, 11 Jan 2009 17:25:52 +0000 (+0000) Subject: liboil fixes: - add a workaround for building on arm - remove unneeded CONFIGURE... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=951bec68f371da1a84e1c3f72ffce6fa84b4fa51;p=openwrt%2Fsvn-archive%2Fpackages.git liboil fixes: - add a workaround for building on arm - remove unneeded CONFIGURE stuff (libintl & libiconv not needed, uClibc now has all math functions, libnotimpl not needed anymore) SVN-Revision: 13982 --- diff --git a/libs/liboil/Makefile b/libs/liboil/Makefile index ea6f0eba8..6a20c02cb 100644 --- a/libs/liboil/Makefile +++ b/libs/liboil/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2008 OpenWrt.org +# Copyright (C) 2007-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -43,16 +43,13 @@ CONFIGURE_ARGS += \ --enable-shared \ --enable-static \ -CONFIGURE_VARS += \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libintl/include" \ - LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \ - LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libintl/lib" \ - LIBS="-lnotimpl" \ - ac_cv_lib_m_rintf=no \ - +# XXX: VFP_CFLAGS is set to '-mfpu=vfp' on arm by configure, but that breaks +# final linking stages, so override it until we find why define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + VFP_CFLAGS="" \ + all install endef define Build/InstallDev