Explorar o código

fixed newlib building script error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com %!s(int64=13) %!d(string=hai) anos
pai
achega
50b5e18dce
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      components/libc/newlib/SConscript

+ 1 - 2
components/libc/newlib/SConscript

@@ -1,8 +1,7 @@
 Import('rtconfig')
-
 from building import *
 
-if rtconfig.CROSS_TOOL != 'gcc':
+if GetDepend('RT_USING_NEWLIB') and rtconfig.CROSS_TOOL != 'gcc':
     print '================ERROR============================'
     print 'Please use GNU GCC compiler if using newlib'
     print '================================================='