aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgcc
diff options
Diffstat (limited to 'cgcc')
-rwxr-xr-xcgcc7
1 files changed, 5 insertions, 2 deletions
diff --git a/cgcc b/cgcc
index 226a7a7a..2b9f89c8 100755
--- a/cgcc
+++ b/cgcc
@@ -50,8 +50,11 @@ if ($do_check) {
$check .= &add_specs ('host_os_specs');
}
print "$check\n" if $verbose;
-# exit 1;
- system ($check);
+ if ($do_compile) {
+ system ($check);
+ } else {
+ exec ($check);
+ }
}
if ($do_compile) {