[vlc-commits] contrib: postproc: simplify CFLAGS

Rafaël Carré git at videolan.org
Thu Jan 3 19:16:55 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jan  3 18:08:56 2013 +0100| [701947ad07bd33b06a7c10de0e9b933b14dc93e0] | committer: Rafaël Carré

contrib: postproc: simplify CFLAGS

Workarounds for windows seem not to be neeed anymore

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=701947ad07bd33b06a7c10de0e9b933b14dc93e0
---

 contrib/src/postproc/rules.mak |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index 96c968d..2b2c1b9 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -98,14 +98,11 @@ postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc
 	rm -Rf $@ $@-git
 	mkdir -p $@-git
 	$(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
-ifdef HAVE_WIN32
-	sed -i "s/std=c99/std=gnu99/" $@-$(POSTPROC_VERSION)/configure
-endif
 	$(MOVE)
 
 .postproc: postproc
 	cd $< && $(HOSTVARS) ./configure \
-		--extra-cflags="--std=gnu99 $(EXTRA_CFLAGS) -DHAVE_STDINT_H"  \
+		--extra-cflags="$(EXTRA_CFLAGS)"  \
 		--extra-ldflags="$(LDFLAGS)" $(POSTPROCCONF) \
 		--prefix="$(PREFIX)" --enable-static --disable-shared
 	cd $< && $(MAKE) install-libs install-headers



More information about the vlc-commits mailing list