ucl: fix native build with gcc6

This commit is contained in:
rr- 2016-05-26 19:29:03 +02:00 committed by Tony Theodore
parent 5286e300a6
commit 27ddf2c6ce
1 changed files with 2 additions and 1 deletions

View File

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