summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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