summaryrefslogtreecommitdiffstats
path: root/src/gcc.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-10-13 12:48:10 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-10-25 01:23:27 (GMT)
commit3185b292b0b04bbd14fa9ea8a4a887a820edeec5 (patch)
treec6aa684e6ca8f048a19f459ddeac5b8ff08b7b1e /src/gcc.mk
parent3132accaf157d8940a7f2287344cba2cd62c482f (diff)
downloadmxe-3185b292b0b04bbd14fa9ea8a4a887a820edeec5.zip
mxe-3185b292b0b04bbd14fa9ea8a4a887a820edeec5.tar.gz
mxe-3185b292b0b04bbd14fa9ea8a4a887a820edeec5.tar.bz2
gcc and deps: use native builds and consolidate rules
Diffstat (limited to 'src/gcc.mk')
-rw-r--r--src/gcc.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index d720e89..129e250 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -40,10 +40,10 @@ define $(PKG)_CONFIGURE
--disable-win32-registry \
--enable-threads=win32 \
--disable-libgomp \
- --with-gmp='$(PREFIX)' \
- --with-isl='$(PREFIX)' \
- --with-mpc='$(PREFIX)' \
- --with-mpfr='$(PREFIX)' \
+ --with-gmp='$(PREFIX)/$(BUILD)' \
+ --with-isl='$(PREFIX)/$(BUILD)' \
+ --with-mpc='$(PREFIX)/$(BUILD)' \
+ --with-mpfr='$(PREFIX)/$(BUILD)' \
--with-as='$(PREFIX)/bin/$(TARGET)-as' \
--with-ld='$(PREFIX)/bin/$(TARGET)-ld' \
--with-nm='$(PREFIX)/bin/$(TARGET)-nm' \