diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-05-09 17:00:16 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-05-09 17:00:16 (GMT) |
commit | d40af3575f2bf0e9175978a132aef6af56b7b46a (patch) | |
tree | 6ba3cc2b6d5200eff2187e347874f7ff8f01e315 /src | |
parent | 0d01b38c8d86fbfb7b98bb6221b8c7a0a4eb5afc (diff) | |
download | mxe-d40af3575f2bf0e9175978a132aef6af56b7b46a.zip mxe-d40af3575f2bf0e9175978a132aef6af56b7b46a.tar.gz mxe-d40af3575f2bf0e9175978a132aef6af56b7b46a.tar.bz2 |
provide GCC OpenMP functionality as extra package libgomp (by Tony Theodore)
Diffstat (limited to 'src')
-rw-r--r-- | src/gcc.mk | 4 | ||||
-rw-r--r-- | src/libgomp.mk | 31 |
2 files changed, 34 insertions, 1 deletions
@@ -45,7 +45,9 @@ define $(PKG)_BUILD --without-x \ --disable-win32-registry \ --enable-sjlj-exceptions \ - --enable-threads=win32 + --enable-threads=win32 \ + --disable-libgomp \ + --disable-libmudflap $(MAKE) -C '$(1)/build' -j '$(JOBS)' $(MAKE) -C '$(1)/build' -j 1 install diff --git a/src/libgomp.mk b/src/libgomp.mk new file mode 100644 index 0000000..997de0e --- /dev/null +++ b/src/libgomp.mk @@ -0,0 +1,31 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# GCC-libgomp +PKG := libgomp +$(PKG)_IGNORE = $(gcc_IGNORE) +$(PKG)_VERSION = $(gcc_VERSION) +$(PKG)_CHECKSUM = $(gcc_CHECKSUM) +$(PKG)_SUBDIR = $(gcc_SUBDIR) +$(PKG)_FILE = $(gcc_FILE) +$(PKG)_WEBSITE := http://gcc.gnu.org/projects/gomp/ +$(PKG)_URL = $(gcc_URL) +$(PKG)_URL_2 = $(gcc_URL_2) +$(PKG)_DEPS := pthreads + +define $(PKG)_UPDATE + echo $(gcc_VERSION) +endef + +define $(PKG)_BUILD + mkdir -p '$(1)/build/$(TARGET)/libgomp' + cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ + --host='$(TARGET)' \ + --target='$(TARGET)' \ + --prefix='$(PREFIX)' \ + --enable-version-specific-runtime-libs \ + --with-gnu-ld \ + --disable-shared \ + LIBS='-lws2_32' + $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install +endef |