From: nbd Date: Thu, 5 Nov 2009 10:22:29 +0000 (+0000) Subject: dbus: for some reason on our mips toolchain -Wl,--gc-sections does not work, but... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=f7f2eb8df907d9d97f15808061a38fae8eb451ef;p=packages.git dbus: for some reason on our mips toolchain -Wl,--gc-sections does not work, but --gc-sections does. fixes #6043 git-svn-id: svn://svn.openwrt.org/openwrt/packages@18308 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/dbus/Makefile b/utils/dbus/Makefile index 95f978cf6..cbf502ef8 100644 --- a/utils/dbus/Makefile +++ b/utils/dbus/Makefile @@ -74,6 +74,11 @@ $(call Package/dbus/Default/description) endef +define Build/Prepare + $(Build/Prepare/Default) + $(SED) 's/-Wl,--gc-sections/--gc-sections/' $(PKG_BUILD_DIR)/configure +endef + CONFIGURE_ARGS += \ --enable-shared \ --enable-static \