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
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
......
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