X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tos%2Fplatforms%2Fnull%2F.platform;h=c9e8dc3b77c06db380778c7b1aa062844b99e4e7;hb=8aee3e65d2935dbf9d89074360ea21a2d6764929;hp=9ae17389d97cfaeb8dc706ba8b3ab9e29d0b8418;hpb=7f075a89ee9b18a52690f8b58d5ca7a630006be0;p=tinyos-2.x.git diff --git a/tos/platforms/null/.platform b/tos/platforms/null/.platform index 9ae17389..c9e8dc3b 100644 --- a/tos/platforms/null/.platform +++ b/tos/platforms/null/.platform @@ -14,10 +14,14 @@ push( @includes, qw( @opts = qw( - -gcc=gcc -fnesc-target=pc -fnesc-no-debug ); +if (defined($ENV{"GCC"})) { + push @opts, "-gcc=$ENV{'GCC'}"; +} else { + push @opts, "-gcc=gcc"; +} push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;