mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
MacOSX name, compiler settings.
This commit is contained in:
parent
1680e92124
commit
17ed6ca7ca
@ -22,7 +22,7 @@ use File::Path; # for rmtree();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.147 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.148 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -219,6 +219,9 @@ sub GetSystemInfo {
|
||||
if ($Settings::OS eq 'BSD_OS') {
|
||||
$Settings::BuildName = "$host BSD/OS $os_ver $build_type";
|
||||
}
|
||||
if ($Settings::OS eq 'Darwin') {
|
||||
$Settings::BuildName = "$host MacOSX/Darwin $os_ver $build_type";
|
||||
}
|
||||
if ($Settings::OS eq 'FreeBSD') {
|
||||
$Settings::BuildName = "$host $Settings::OS/$Settings::CPU $os_ver $build_type";
|
||||
}
|
||||
@ -341,6 +344,12 @@ sub SetupPath {
|
||||
$Settings::NSPRArgs .= 'NS_USE_GCC=1 NS_USE_NATIVE=';
|
||||
}
|
||||
|
||||
if ($Settings::OS eq 'Darwin') {
|
||||
$ENV{PATH} = "/bin:/usr/bin:$ENV{PATH}";
|
||||
$Settings::ConfigureEnvArgs = 'CC=cc CXX=cpp';
|
||||
$Settings::Compiler = 'cc';
|
||||
}
|
||||
|
||||
if ($Settings::OS eq 'FreeBSD') {
|
||||
$ENV{PATH} = "/bin:/usr/bin:$ENV{PATH}";
|
||||
if ($ENV{HOST} eq 'angelus.mcom.com') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user