diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-02-04 10:33:53 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-02-07 03:33:26 (GMT) |
commit | 5da81682638fb00f9250c442ecc413b2984dce4e (patch) | |
tree | 914310c7a0a462e2db3dc09f5a281132254ab456 /src/gcc.mk | |
parent | 27facf1c6fcb7973781568dde9b0c1072e28f669 (diff) | |
download | mxe-5da81682638fb00f9250c442ecc413b2984dce4e.zip mxe-5da81682638fb00f9250c442ecc413b2984dce4e.tar.gz mxe-5da81682638fb00f9250c442ecc413b2984dce4e.tar.bz2 |
allow non-default exception handling targets
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,6 +37,7 @@ define $(PKG)_CONFIGURE --without-x \ --disable-win32-registry \ --enable-threads=$(MXE_GCC_THREADS) \ + $(MXE_GCC_EXCEPTION_OPTS) \ --enable-libgomp \ --with-gmp='$(PREFIX)/$(BUILD)' \ --with-isl='$(PREFIX)/$(BUILD)' \ @@ -45,7 +46,8 @@ define $(PKG)_CONFIGURE --with-as='$(PREFIX)/bin/$(TARGET)-as' \ --with-ld='$(PREFIX)/bin/$(TARGET)-ld' \ --with-nm='$(PREFIX)/bin/$(TARGET)-nm' \ - $(shell [ `uname -s` == Darwin ] && echo "LDFLAGS='-Wl,-no_pie'") + $(shell [ `uname -s` == Darwin ] && echo "LDFLAGS='-Wl,-no_pie'") \ + $($(PKG)_CONFIGURE_OPTS) endef define $(PKG)_BUILD_mingw-w64 |