diff src/gcc-isl.mk @ 3496:3c7b3646d0b3

update to gcc 4.8.2 and allow building for MinGW-64
author John W. Eaton <jwe@octave.org>
date Mon, 03 Feb 2014 18:16:02 -0500
parents
children 33b776056ec1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gcc-isl.mk	Mon Feb 03 18:16:02 2014 -0500
@@ -0,0 +1,26 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := gcc-isl
+$(PKG)_IGNORE    = $(isl_IGNORE)
+$(PKG)_VERSION   = $(isl_VERSION)
+$(PKG)_CHECKSUM  = $(isl_CHECKSUM)
+$(PKG)_SUBDIR    = $(isl_SUBDIR)
+$(PKG)_FILE      = $(isl_FILE)
+$(PKG)_URL       = $(isl_URL)
+$(PKG)_URL_2     = $(isl_URL_2)
+$(PKG)_DEPS     := gcc-gmp
+
+define $(PKG)_UPDATE
+    echo $(isl_VERSION)
+endef
+
+define $(PKG)_BUILD
+    mkdir '$(1).build'
+    cd    '$(1).build' && '$(1)/configure' \
+        --prefix='$(BUILD_TOOLS_PREFIX)' \
+        $(ENABLE_SHARED_OR_STATIC) \
+        --with-gmp-prefix='$(PREFIX)'
+    $(MAKE) -C '$(1).build' -j '$(JOBS)'
+    $(MAKE) -C '$(1).build' -j 1 install
+endef