diff src/binutils.mk @ 2997:4f9b72cf7ee7

allow native builds too
author John W. Eaton <jwe@octave.org>
date Tue, 28 May 2013 17:31:59 -0400
parents 4efa36d98001
children 100e618349f7
line wrap: on
line diff
--- a/src/binutils.mk	Sun May 26 13:32:22 2013 -0400
+++ b/src/binutils.mk	Tue May 28 17:31:59 2013 -0400
@@ -17,6 +17,7 @@
     head -1
 endef
 
+ifneq ($(USE_SYSTEM_GCC),yes)
 define $(PKG)_BUILD
     # install config.guess for general use
     $(INSTALL) -d '$(PREFIX)/bin'
@@ -40,3 +41,7 @@
     $(MAKE) -C '$(1)' -j 1 install
     $(MAKE) -C '$(1)' -j 1 DESTDIR=$(PREFIX)/../cross-tools install
 endef
+else
+define $(PKG)_BUILD
+endef
+endif