[vlc-devel] commit: faad: fix compilation with gcc not supporting -iquote (< 4.x?) ( Rafaël Carré )
git version control
git at videolan.org
Mon Aug 31 13:32:51 CEST 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Aug 31 13:31:39 2009 +0200| [9c4fb5e4a0df2bffb5b810f41ce0258c0769fdf7] | committer: Rafaël Carré
faad: fix compilation with gcc not supporting -iquote (< 4.x?)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c4fb5e4a0df2bffb5b810f41ce0258c0769fdf7
---
extras/contrib/src/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index b8827c2..a3304ff 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -877,7 +877,7 @@ faad2-$(FAAD2_VERSION).tar.gz:
faad2: faad2-$(FAAD2_VERSION).tar.gz
$(EXTRACT_GZ)
- (cd $@; sh ./bootstrap)
+ (cd $@; echo|$(HOSTCC) -iquote . -E - || sed -i 's/-iquote /-I/' libfaad/Makefile.am; sh ./bootstrap)
.faad: faad2
(cd $< && $(HOSTCC) ./configure $(HOSTCONF) --disable-shared --prefix=$(PREFIX) CFLAGS="-O3" && sed -i.orig "s/shrext_cmds/shrext/g" libtool && make -C libfaad && make -C libfaad install)
More information about the vlc-devel
mailing list