From 38dba69e0d7587e5c40e1b06f4c85a41263d804f Mon Sep 17 00:00:00 2001 From: goodale Date: Fri, 12 May 2000 15:43:20 +0000 Subject: 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 --- lib/make/setup_configuration.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/make/setup_configuration.pl') 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; -- cgit v1.2.3