summaryrefslogtreecommitdiff
path: root/package/liboil/liboil.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-25 08:16:53 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-25 08:16:53 +0000
commitdf8f9549fdd6a3248efe505e94ca509a32db18f0 (patch)
treea2e4ed82626c831239d1fa87b767e2c4255f67a7 /package/liboil/liboil.mk
parented7f49bf495f21b36b9e7cbcfe06c25dc550af67 (diff)
liboil make fails on ARM with release toolset for a few unneeded examples due to use of hidden __clz_tab, do not build them for now, but problem may need further examination
Diffstat (limited to 'package/liboil/liboil.mk')
-rw-r--r--package/liboil/liboil.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/liboil/liboil.mk b/package/liboil/liboil.mk
index 37970911a..74eedacb2 100644
--- a/package/liboil/liboil.mk
+++ b/package/liboil/liboil.mk
@@ -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
+