summaryrefslogtreecommitdiff
path: root/lib/make/setup_configuration.pl
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-12 15:43:20 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-05-12 15:43:20 +0000
commit38dba69e0d7587e5c40e1b06f4c85a41263d804f (patch)
tree85644e168986c0cfa96bf89c9168492088c3fd04 /lib/make/setup_configuration.pl
parenta54a7e15d90d2a52a0d1df36db0c18b70df54073 (diff)
Change to syntax for cross-compilation.
Now need BUILD_MACHINE= TARGET_MACHINE= HOST_MACHINE= as $HOST is sometimes set with the host name. Votes for better names for these options welcome. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1653 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/setup_configuration.pl')
-rwxr-xr-xlib/make/setup_configuration.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/make/setup_configuration.pl b/lib/make/setup_configuration.pl
index 467bfcde..c612b156 100755
--- a/lib/make/setup_configuration.pl
+++ b/lib/make/setup_configuration.pl
@@ -177,19 +177,19 @@ sub DetermineConfigureCommand
$configure_command = "$configure";
- if($ENV{"BUILD"})
+ if($ENV{"BUILD_MACHINE"})
{
- $configure_command .= " --build=". $ENV{"BUILD"};
+ $configure_command .= " --build=". $ENV{"BUILD_MACHINE"};
}
- if($ENV{"TARGET"})
+ if($ENV{"TARGET_MACHINE"})
{
- $configure_command .= " --target=". $ENV{"TARGET"};
+ $configure_command .= " --target=". $ENV{"TARGET_MACHINE"};
}
- if($ENV{"HOST"})
+ if($ENV{"HOST_MACHINE"})
{
- $configure_command .= " --host=". $ENV{"HOST"};
+ $configure_command .= " --host=". $ENV{"HOST_MACHINE"};
}
return $configure_command;