comparison src/libgomp.mk @ 3048:5ef49fb3299d

treat gcc and binutils as build tools use a separate target for building the cmake toolchain file don't unpack gcc or binutils if we are using the system compiler
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jun 2013 16:51:29 -0400
parents 951da75fd09c
children 7e0b4087cd58
comparison
equal deleted inserted replaced
3047:e7b7b0f663d3 3048:5ef49fb3299d
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := libgomp 4 PKG := libgomp
5 $(PKG)_IGNORE = $(gcc_IGNORE) 5 $(PKG)_IGNORE = $(build-gcc_IGNORE)
6 $(PKG)_CHECKSUM = $(gcc_CHECKSUM) 6 $(PKG)_CHECKSUM = $(build-gcc_CHECKSUM)
7 $(PKG)_SUBDIR = $(gcc_SUBDIR) 7 $(PKG)_SUBDIR = $(build-gcc_SUBDIR)
8 $(PKG)_FILE = $(gcc_FILE) 8 $(PKG)_FILE = $(build-gcc_FILE)
9 $(PKG)_URL = $(gcc_URL) 9 $(PKG)_URL = $(build-gcc_URL)
10 $(PKG)_URL_2 = $(gcc_URL_2) 10 $(PKG)_URL_2 = $(build-gcc_URL_2)
11 $(PKG)_DEPS := gcc pthreads 11 $(PKG)_DEPS := pthreads
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 echo $(gcc_VERSION) 14 echo $(build-gcc_VERSION)
15 endef 15 endef
16 16
17 define $(PKG)_BUILD 17 define $(PKG)_BUILD
18 mkdir -p '$(1)/build/$(TARGET)/libgomp' 18 mkdir -p '$(1)/build/$(TARGET)/libgomp'
19 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ 19 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \