summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-08-07 20:56:23 +0000
committerChris Wilson <chris+github@qwirx.com>2006-08-07 20:56:23 +0000
commit7de93826a58d901b8b136470d7b8be19342dbbc5 (patch)
tree07f027fb304953fd1ed25957bf4af6f5f75a049f /infrastructure
parentc7662795f519d2b6797e4b1ac7fa4a22afa26310 (diff)
* BoxPlatform.pm.in
- Removed $build_cpu and `uname -p` entirely, as they are not used anywhere
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/BoxPlatform.pm.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in
index 8297b93b..81629414 100644
--- a/infrastructure/BoxPlatform.pm.in
+++ b/infrastructure/BoxPlatform.pm.in
@@ -1,7 +1,7 @@
package BoxPlatform;
use Exporter;
@ISA = qw/Exporter/;
-@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/;
+@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 @@ BEGIN
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