summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-05-26 17:29:03 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-08-16 23:21:02 (GMT)
commit27ddf2c6ce18f12e852bd86924bbb55a6225db3b (patch)
tree63925a918df1db5c34a7554dcd079e3c8418f3cd /src
parent5286e300a621579b0a5b09da9218901d3916accb (diff)
downloadmxe-27ddf2c6ce18f12e852bd86924bbb55a6225db3b.zip
mxe-27ddf2c6ce18f12e852bd86924bbb55a6225db3b.tar.gz
mxe-27ddf2c6ce18f12e852bd86924bbb55a6225db3b.tar.bz2
ucl: fix native build with gcc6
Diffstat (limited to 'src')
-rw-r--r--src/ucl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ucl.mk b/src/ucl.mk
index 020c575..0777892 100644
--- a/src/ucl.mk
+++ b/src/ucl.mk
@@ -21,7 +21,8 @@ endef
define $(PKG)_BUILD
cd '$(1)' && \
./configure \
- $(MXE_CONFIGURE_OPTS)
+ $(MXE_CONFIGURE_OPTS) \
+ CFLAGS='-std=c90 -fPIC'
$(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined
$(MAKE) -C '$(1)' -j 1 install
endef