summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClark Li <clark.li86@gmail.com>2015-05-27 13:58:28 (GMT)
committerClark Li <clark.li86@gmail.com>2015-05-27 14:02:27 (GMT)
commit9b102b89566f92f5fb466edba6ad8f2265c0a99d (patch)
tree39cb0444972488ea0bf3250e303aa7fe68c952bc /src
parentd28c1df4f19126c4ebc8d56c6c6f90d066013c33 (diff)
downloadmxe-9b102b89566f92f5fb466edba6ad8f2265c0a99d.zip
mxe-9b102b89566f92f5fb466edba6ad8f2265c0a99d.tar.gz
mxe-9b102b89566f92f5fb466edba6ad8f2265c0a99d.tar.bz2
Enable ISO C90 inline
Otherwise imaxabs() and other functions in _mingw.h will not be inlined and produce link error
Diffstat (limited to 'src')
-rw-r--r--src/a52dec.mk2
1 files changed, 1 insertions, 1 deletions
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=