summaryrefslogtreecommitdiffstats
path: root/src/gcc-gmp.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-10-19 06:11:43 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-10-19 06:11:43 (GMT)
commit2b82342590795068e41ff72ebbe4d53889475e82 (patch)
treea98819e9ca357d2057fecf0c1b2a3a18fc32ec99 /src/gcc-gmp.mk
parent2abbc856c59e32f6349afd54a389d03b2eaa6a0a (diff)
downloadmxe-2b82342590795068e41ff72ebbe4d53889475e82.zip
mxe-2b82342590795068e41ff72ebbe4d53889475e82.tar.gz
mxe-2b82342590795068e41ff72ebbe4d53889475e82.tar.bz2
gcc support libraries: build separately in own package rules
Diffstat (limited to 'src/gcc-gmp.mk')
-rw-r--r--src/gcc-gmp.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gcc-gmp.mk b/src/gcc-gmp.mk
index b7bfefe..c121310 100644
--- a/src/gcc-gmp.mk
+++ b/src/gcc-gmp.mk
@@ -14,3 +14,13 @@ $(PKG)_DEPS :=
define $(PKG)_UPDATE
echo $(gmp_VERSION)
endef
+
+define $(PKG)_BUILD
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef
+
+$(PKG)_BUILD_$(BUILD) =