diff 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
line wrap: on
line diff
--- a/src/libgomp.mk	Thu Jun 13 22:55:24 2013 -0400
+++ b/src/libgomp.mk	Fri Jun 14 16:51:29 2013 -0400
@@ -2,16 +2,16 @@
 # See index.html for further information.
 
 PKG             := libgomp
-$(PKG)_IGNORE    = $(gcc_IGNORE)
-$(PKG)_CHECKSUM  = $(gcc_CHECKSUM)
-$(PKG)_SUBDIR    = $(gcc_SUBDIR)
-$(PKG)_FILE      = $(gcc_FILE)
-$(PKG)_URL       = $(gcc_URL)
-$(PKG)_URL_2     = $(gcc_URL_2)
-$(PKG)_DEPS     := gcc pthreads
+$(PKG)_IGNORE    = $(build-gcc_IGNORE)
+$(PKG)_CHECKSUM  = $(build-gcc_CHECKSUM)
+$(PKG)_SUBDIR    = $(build-gcc_SUBDIR)
+$(PKG)_FILE      = $(build-gcc_FILE)
+$(PKG)_URL       = $(build-gcc_URL)
+$(PKG)_URL_2     = $(build-gcc_URL_2)
+$(PKG)_DEPS     := pthreads
 
 define $(PKG)_UPDATE
-    echo $(gcc_VERSION)
+    echo $(build-gcc_VERSION)
 endef
 
 define $(PKG)_BUILD