diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-02-09 11:44:38 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-02-09 11:44:38 (GMT) |
commit | 6cf952d7a86d8933bb2fff6f1acada1c02809556 (patch) | |
tree | 5295caf5520244e0b37aaa654feabfb547e1baa9 /src/mpc.mk | |
parent | 47361fa75035d78117ec2c97a3b84be3a5259820 (diff) | |
download | mxe-6cf952d7a86d8933bb2fff6f1acada1c02809556.zip mxe-6cf952d7a86d8933bb2fff6f1acada1c02809556.tar.gz mxe-6cf952d7a86d8933bb2fff6f1acada1c02809556.tar.bz2 |
packages gmp mpfr mpc: enable shared builds and runtime tests
Diffstat (limited to 'src/mpc.mk')
-rw-r--r-- | src/mpc.mk | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -19,10 +19,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --enable-static \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ --with-gmp='$(PREFIX)/$(TARGET)/' \ --with-mpfr='$(PREFIX)/$(TARGET)/' $(MAKE) -C '$(1)' -j '$(JOBS)' @@ -34,6 +31,7 @@ define $(PKG)_BUILD cp -R '$(1)/tests' '$(PREFIX)/$(TARGET)/bin/$(PKG)-tests' (printf 'date /t > all-tests-$(PKG)-$($(PKG)_VERSION).txt\r\n'; \ printf 'time /t >> all-tests-$(PKG)-$($(PKG)_VERSION).txt\r\n'; \ + printf 'set PATH=..\\;%%PATH%%\r\n'; \ printf 'for /R %%%%f in (*.exe) do %%%%f || echo %%%%f fail >> all-tests-$(PKG)-$($(PKG)_VERSION).txt\r\n';) \ > '$(PREFIX)/$(TARGET)/bin/$(PKG)-tests/all-tests-$(PKG)-$($(PKG)_VERSION).bat' endef |