liboil make fails on ARM with release toolset for a few unneeded examples due to...
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 25 Jan 2009 08:16:53 +0000 (08:16 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 25 Jan 2009 08:16:53 +0000 (08:16 -0000)
package/liboil/liboil.mk

index 37970911ad8437a975d4f871bad355905e11e6ac..74eedacb25bf227269c93c97b71eba913f9e69d2 100644 (file)
@@ -26,6 +26,8 @@ ifeq ($(BR2_x86_64),y)
 LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
 endif
 
+LIBOIL_CONF_OPT+=--with-gnu-ld
+
 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
 LIBOIL_GLIB_DEP = libglib2
 endif
@@ -42,3 +44,8 @@ $(LIBOIL_HOOK_POST_INSTALL):
        # Remove useless bugreport program from the target
        rm -f $(TARGET_DIR)/usr/bin/oil-bugreport
        touch $@
+
+$(LIBOIL_HOOK_POST_CONFIGURE):
+       $(SED) 's/uberopt//g' $(LIBOIL_DIR)/examples/Makefile
+       $(SED) 's/work//g' $(LIBOIL_DIR)/examples/Makefile
+