From 9b102b89566f92f5fb466edba6ad8f2265c0a99d Mon Sep 17 00:00:00 2001 From: Clark Li Date: Wed, 27 May 2015 23:28:28 +0930 Subject: Enable ISO C90 inline Otherwise imaxabs() and other functions in _mingw.h will not be inlined and produce link error --- src/a52dec.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/a52dec.mk b/src/a52dec.mk index cc4b60b..26eaa27 100644 --- a/src/a52dec.mk +++ b/src/a52dec.mk @@ -18,7 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && autoreconf -fi # The autotools files came with a52dec are _ancient_ - cd '$(1)' && ./configure \ + cd '$(1)' && ./configure CFLAGS=-std=gnu89 \ $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= -- cgit v0.12