Commit 701947ad authored by Rafaël Carré's avatar Rafaël Carré

contrib: postproc: simplify CFLAGS

Workarounds for windows seem not to be neeed anymore
parent 94af32dd
...@@ -98,14 +98,11 @@ postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc ...@@ -98,14 +98,11 @@ postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc
rm -Rf $@ $@-git rm -Rf $@ $@-git
mkdir -p $@-git mkdir -p $@-git
$(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1) $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
ifdef HAVE_WIN32
sed -i "s/std=c99/std=gnu99/" $@-$(POSTPROC_VERSION)/configure
endif
$(MOVE) $(MOVE)
.postproc: postproc .postproc: postproc
cd $< && $(HOSTVARS) ./configure \ cd $< && $(HOSTVARS) ./configure \
--extra-cflags="--std=gnu99 $(EXTRA_CFLAGS) -DHAVE_STDINT_H" \ --extra-cflags="$(EXTRA_CFLAGS)" \
--extra-ldflags="$(LDFLAGS)" $(POSTPROCCONF) \ --extra-ldflags="$(LDFLAGS)" $(POSTPROCCONF) \
--prefix="$(PREFIX)" --enable-static --disable-shared --prefix="$(PREFIX)" --enable-static --disable-shared
cd $< && $(MAKE) install-libs install-headers cd $< && $(MAKE) install-libs install-headers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment