From: Nicolas Thill Date: Fri, 27 Oct 2006 19:32:58 +0000 (+0000) Subject: override AM_CFLAGS holding conflicting optimization flag, remove unneeded --with... X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;ds=inline;h=67a31bf451c2f131ef781483ab1e2439d343a2a3;p=openwrt%2Fsvn-archive%2Farchive.git override AM_CFLAGS holding conflicting optimization flag, remove unneeded --with-gnu-ld configure option SVN-Revision: 5315 --- diff --git a/libs/alsa-lib/Makefile b/libs/alsa-lib/Makefile index f8294f6a88..27ebe81624 100644 --- a/libs/alsa-lib/Makefile +++ b/libs/alsa-lib/Makefile @@ -35,9 +35,8 @@ endef define Build/Configure $(call Build/Configure/Default,\ - --enable-shared=yes \ - --enable-static=yes \ - --with-gnu-ld \ + --enable-shared \ + --enable-static \ --disable-debugging \ --disable-profiling \ --with-softfloat \ @@ -46,7 +45,9 @@ define Build/Configure endef define Build/Compile + # override AM_CFLAGS holding inappropriate optimization flags $(MAKE) -C $(PKG_BUILD_DIR) \ + AM_CFLAGS="" \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install endef