[Box Backup-dev] COMMIT r719 - box/chris/merge/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Mon Aug 7 21:56:23 BST 2006


Author: chris
Date: 2006-08-07 20:56:23 +0000 (Mon, 07 Aug 2006)
New Revision: 719

Modified:
   box/chris/merge/infrastructure/BoxPlatform.pm.in
Log:
* BoxPlatform.pm.in
- Removed $build_cpu and `uname -p` entirely, as they are not used anywhere


Modified: box/chris/merge/infrastructure/BoxPlatform.pm.in
===================================================================
--- box/chris/merge/infrastructure/BoxPlatform.pm.in	2006-08-07 20:53:12 UTC (rev 718)
+++ box/chris/merge/infrastructure/BoxPlatform.pm.in	2006-08-07 20:56:23 UTC (rev 719)
@@ -1,7 +1,7 @@
 package BoxPlatform;
 use Exporter;
 @ISA = qw/Exporter/;
- at EXPORT = qw/$build_os $build_cpu $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext $target_windows update_if_changed/;
+ at EXPORT = qw/$build_os $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext $target_windows update_if_changed/;
 
 BEGIN
 {
@@ -15,14 +15,11 @@
 	if ($^O eq "MSWin32" and not -x "/usr/bin/uname")
 	{
 		$build_os = "winnt";
-		$build_cpu = "ix86";
 	}
 	else
 	{
 		$build_os = `uname`;
 		chomp $build_os;
-		$build_cpu = `uname -m`;
-		chomp $build_cpu;
 	}
 
 	# Cygwin Builds usually something like CYGWIN_NT-5.0, CYGWIN_NT-5.1




More information about the Boxbackup-dev mailing list