[package] workaround gcc-3.4.6 not handling -iquote parameter (#5446)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16721 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-07-06 20:06:09 +00:00
parent e6606cdeaf
commit 676d5b9b0e

View File

@ -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 \
);