From: Florian Fainelli Date: Mon, 6 Jul 2009 20:06:09 +0000 (+0000) Subject: [package] workaround gcc-3.4.6 not handling -iquote parameter (#5446) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dec87862d7953f13461a0f71738ff6f45ffb9112;p=openwrt%2Fsvn-archive%2Farchive.git [package] workaround gcc-3.4.6 not handling -iquote parameter (#5446) SVN-Revision: 16721 --- diff --git a/libs/faad2/Makefile b/libs/faad2/Makefile index d1cad4dda8..2c94173f2e 100644 --- a/libs/faad2/Makefile +++ b/libs/faad2/Makefile @@ -56,6 +56,10 @@ $(call Package/faad2/Default/description) endef define Build/Configure + # This replacement were do according to many comments on the web because of gcc 3.4.5 version (.6 included).- + # wich doesn't recognices the -iquote parameter to AM_CFLAGS + ($(SED) 's,-iquote $$$$(top_srcdir),-I$$$$(top_srcdir),g' $(PKG_BUILD_DIR)/libfaad/Makefile.am; \ + $(SED) 's,-iquote $$$$(top_srcdir),-I$$$$(top_srcdir),g' $(PKG_BUILD_DIR)/libfaad/Makefile.in); (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \ autoreconf -vif \ );