summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-08-16 23:28:34 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-08-16 23:28:34 (GMT)
commit212203d3c83215d60fb3d2d5f174782d2cfd0e0b (patch)
tree7435362099352ac5c330227532dc905cb06d47ba
parent5286e300a621579b0a5b09da9218901d3916accb (diff)
parent0b9341e2068b00ee99ebcc8aa58682d7fd723308 (diff)
downloadmxe-212203d3c83215d60fb3d2d5f174782d2cfd0e0b.zip
mxe-212203d3c83215d60fb3d2d5f174782d2cfd0e0b.tar.gz
mxe-212203d3c83215d60fb3d2d5f174782d2cfd0e0b.tar.bz2
Merge branch 'rr--ucl-fix'
-rw-r--r--plugins/gcc6/README.md2
-rw-r--r--src/ucl.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gcc6/README.md b/plugins/gcc6/README.md
index 65ff0e6..57fcd21 100644
--- a/plugins/gcc6/README.md
+++ b/plugins/gcc6/README.md
@@ -64,7 +64,7 @@ versions [[4](https://github.com/mxe/mxe/commit/a1cc019)].
| sdl_sound | static (all) | - |
| smpeg | all | [57cb6bb](https://github.com/mxe/mxe/commit/57cb6bb) |
| smpeg2 | all | [1a42cbc](https://github.com/mxe/mxe/commit/1a42cbc) |
-| ucl | all | - |
+| ucl | all | [0ac2a77](https://github.com/mxe/mxe/commit/0ac2a77) |
| vtk | static (all) | - |
| vtk6 | all | - |
| wxwidgets | static (all) | [6869e3b](https://github.com/mxe/mxe/commit/6869e3b) |
diff --git a/src/ucl.mk b/src/ucl.mk
index 020c575..b3a8dc5 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=gnu90 -fPIC'
$(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined
$(MAKE) -C '$(1)' -j 1 install
endef