changeset 3515:a551b373abc4

build-python: no depeancy on build-gcc if using system gcc. * src/build-python.mk: only add build-gcc as a dependancy if not using system gcc.
author John Donoghue <john.donoghue@ieee.org>
date Wed, 12 Feb 2014 18:23:02 -0500
parents 598f4d2af02e
children 3b5b776331f1
files src/build-python.mk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/build-python.mk	Fri Feb 07 20:33:38 2014 -0500
+++ b/src/build-python.mk	Wed Feb 12 18:23:02 2014 -0500
@@ -8,7 +8,10 @@
 $(PKG)_SUBDIR   := Python-$($(PKG)_VERSION)
 $(PKG)_FILE     := Python-$($(PKG)_VERSION).tgz
 $(PKG)_URL      := http://www.python.org/ftp/python/2.7.6/$($(PKG)_FILE)
-$(PKG)_DEPS     := build-gcc
+$(PKG)_DEPS     := 
+ifneq ($(USE_SYSTEM_GCC),yes)
+    $(PKG)_DEPS     += build-gcc
+endif
 
 define $(PKG)_UPDATE
     echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;