X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Ftinyos%2Fncc%2Fncc.in;fp=tools%2Ftinyos%2Fncc%2Fncc.in;h=6a9ed35e74ad9eb856b7b6d703478270856afc68;hb=985b17e79cd670abbd4e0a7bfd6a6d30f3b3cd97;hp=d8af93aaa4a5a8c63d6a38cbc7a6849988e32b9a;hpb=b7627ebe86e79595dda31d89717c8ab7815ee265;p=tinyos-2.x.git diff --git a/tools/tinyos/ncc/ncc.in b/tools/tinyos/ncc/ncc.in index d8af93aa..6a9ed35e 100644 --- a/tools/tinyos/ncc/ncc.in +++ b/tools/tinyos/ncc/ncc.in @@ -143,9 +143,11 @@ my $cpp; my $deputyasmexe; my $gcc; -my $safe_home = $TOSDIR."/lib/safe"; -push @new_args, "-fnesc-include=${safe_home}/include/annots_stage1"; -push @new_args, "-fnesc-genprefix=#include \"${safe_home}/include/annots_stage2.h\""; +if(defined $safe) { + my $safe_home = $TOSDIR."/lib/safe"; + push @new_args, "-fnesc-include=${safe_home}/include/annots_stage1"; + push @new_args, "-fnesc-genprefix=#include \"${safe_home}/include/annots_stage2.h\""; +} if ($safe) {