summaryrefslogtreecommitdiffstats
path: root/src/gcc.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-02-04 10:33:53 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-02-07 03:33:26 (GMT)
commit5da81682638fb00f9250c442ecc413b2984dce4e (patch)
tree914310c7a0a462e2db3dc09f5a281132254ab456 /src/gcc.mk
parent27facf1c6fcb7973781568dde9b0c1072e28f669 (diff)
downloadmxe-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.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index 31e8d28..5186555 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -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