From afad5e0030450baa08ca1fa67b13ca9a15e27b56 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 11 Jan 2009 17:25:52 +0000 Subject: [PATCH] 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 --- libs/liboil/Makefile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libs/liboil/Makefile b/libs/liboil/Makefile index ea6f0eba8c..6a20c02cb3 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 -- 2.30.2