[vlc-devel] [PATCH 1/2] contrib: postproc: simplify CFLAGS

Rafaël Carré funman at videolan.org
Thu Jan 3 18:13:07 CET 2013


Workarounds for windows seem not to be neeed anymore
---
 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
-- 
1.7.10.4



More information about the vlc-devel mailing list