From 50b5e18dcebf1c5bbb0f89358063d4d77af019ad Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Mon, 10 Oct 2011 12:45:38 +0000 Subject: [PATCH] fixed newlib building script error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/libc/newlib/SConscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/libc/newlib/SConscript b/components/libc/newlib/SConscript index 72f56838ce..28d66bc0fe 100644 --- a/components/libc/newlib/SConscript +++ b/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 '=================================================' -- GitLab