mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
[BZ #18796]
* scripts/test-installation.pl: Don't add -lmvec to build options if libmvec wasn't built.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
|
||||||
|
|
||||||
|
[BZ #18796]
|
||||||
|
* scripts/test-installation.pl: Don't add -lmvec to build options if
|
||||||
|
libmvec wasn't built.
|
||||||
|
|
||||||
2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
|
2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
|
||||||
|
|
||||||
[BZ #14341]
|
[BZ #14341]
|
||||||
|
@ -80,16 +80,25 @@ arglist: while (@ARGV) {
|
|||||||
# We expect none or one argument.
|
# We expect none or one argument.
|
||||||
if ($#ARGV == -1) {
|
if ($#ARGV == -1) {
|
||||||
$soversions="soversions.mk";
|
$soversions="soversions.mk";
|
||||||
|
$config="config.make";
|
||||||
} elsif ($#ARGV == 0) {
|
} elsif ($#ARGV == 0) {
|
||||||
if (-d $ARGV[0]) {
|
if (-d $ARGV[0]) {
|
||||||
$soversions = "$ARGV[0]/soversions.mk";
|
$soversions = "$ARGV[0]/soversions.mk";
|
||||||
|
$config = "$ARGV[0]/config.make";
|
||||||
} else {
|
} else {
|
||||||
$soversions = $ARGV[0];
|
$soversions = $dir = $ARGV[0];
|
||||||
|
$dir =~ s!/?[^/]*/*$!!;
|
||||||
|
$config = $dir . "/config.make";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
die "Wrong number of arguments.";
|
die "Wrong number of arguments.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (system ("grep -q \"build-mathvec = yes\" $config") == 0) {
|
||||||
|
$build_mathvec = 1;
|
||||||
|
} else {
|
||||||
|
$build_mathvec = 0;
|
||||||
|
}
|
||||||
|
|
||||||
# Read names and versions of all shared libraries that are part of
|
# Read names and versions of all shared libraries that are part of
|
||||||
# glibc
|
# glibc
|
||||||
@ -111,6 +120,8 @@ while (<SOVERSIONS>) {
|
|||||||
# - libthread_db since it contains unresolved references
|
# - libthread_db since it contains unresolved references
|
||||||
# - it's just a test NSS module
|
# - it's just a test NSS module
|
||||||
# - We don't provide the libgcc so we don't test it
|
# - We don't provide the libgcc so we don't test it
|
||||||
|
# - libmvec if it wasn't built
|
||||||
|
next if ($build_mathvec == 0 && $name eq "mvec");
|
||||||
if ($name ne "nss_ldap" && $name ne "db1"
|
if ($name ne "nss_ldap" && $name ne "db1"
|
||||||
&& !($name =~/^nss1_/) && $name ne "thread_db"
|
&& !($name =~/^nss1_/) && $name ne "thread_db"
|
||||||
&& $name ne "nss_test1" && $name ne "libgcc_s") {
|
&& $name ne "nss_test1" && $name ne "libgcc_s") {
|
||||||
|
Reference in New Issue
Block a user