зеркало из https://github.com/mozilla/gecko-dev.git
Lame tweak in order to do a test build on non-glibc Linux systems.
This commit is contained in:
Родитель
bb63becf38
Коммит
36c4eb99f2
|
@ -124,6 +124,7 @@ sub SetupPath {
|
|||
|
||||
if ( $OS eq 'NetBSD' ) {
|
||||
$ENV{'PATH'} = '/bin:/usr/bin:' . $ENV{'PATH'};
|
||||
$ENV{'LD_LIBRARY_PATH'} .= ':/usr/X11R6/lib';
|
||||
$ConfigureEnvArgs = 'CC=egcc CXX=eg++';
|
||||
$Compiler = 'egcc';
|
||||
$mail = '/usr/bin/mail';
|
||||
|
@ -261,6 +262,10 @@ sub GetSystemInfo {
|
|||
} else {
|
||||
$ObjDir = 'obj-' . $CPU . '-pc-linux-gnu';
|
||||
$BuildName = $host . ' ' . $OS . '/i386 ' . $OSVer . ' ' . ($BuildDepend?'Depend':'Clobber');
|
||||
# What's the right way to test for this?
|
||||
if ( $host eq 'truth' ) {
|
||||
$ObjDir .= 'libc1';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -124,6 +124,7 @@ sub SetupPath {
|
|||
|
||||
if ( $OS eq 'NetBSD' ) {
|
||||
$ENV{'PATH'} = '/bin:/usr/bin:' . $ENV{'PATH'};
|
||||
$ENV{'LD_LIBRARY_PATH'} .= ':/usr/X11R6/lib';
|
||||
$ConfigureEnvArgs = 'CC=egcc CXX=eg++';
|
||||
$Compiler = 'egcc';
|
||||
$mail = '/usr/bin/mail';
|
||||
|
@ -261,6 +262,10 @@ sub GetSystemInfo {
|
|||
} else {
|
||||
$ObjDir = 'obj-' . $CPU . '-pc-linux-gnu';
|
||||
$BuildName = $host . ' ' . $OS . '/i386 ' . $OSVer . ' ' . ($BuildDepend?'Depend':'Clobber');
|
||||
# What's the right way to test for this?
|
||||
if ( $host eq 'truth' ) {
|
||||
$ObjDir .= 'libc1';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче