summaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-30 17:16:20 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-30 17:16:20 +0000
commitbabf11f249c7c6399c66f2567d4e7efa9c37a9c3 (patch)
tree816778a63435b4ba76dc9c06038b28739fcf38f1 /utils/GenLibDeps.pl
parent33540adca55b95a5fdbb0dc783ded319a90b4bc1 (diff)
downloadllvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.gz
llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.bz2
llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.xz
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/GenLibDeps.pl')
-rwxr-xr-xutils/GenLibDeps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl
index 74eedd3383..35811b4e3c 100755
--- a/utils/GenLibDeps.pl
+++ b/utils/GenLibDeps.pl
@@ -96,7 +96,7 @@ sub gen_one_entry {
print " <dt><b>$lib</b</dt><dd><ul>\n";
}
open UNDEFS,
- "$nmPath -g -u $Directory/$lib | sed -e 's/^ *U //' | sort | uniq |";
+ "$nmPath -g -u $Directory/$lib | sed -e 's/^[ 0]* U //' | sort | uniq |";
my %DepLibs;
while (<UNDEFS>) {
chomp;