summaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-24 17:44:42 +0000
committerChris Lattner <sabre@nondot.org>2008-06-24 17:44:42 +0000
commit58a4c5e8e3b12bc4dd4659bda48f2f3188067eea (patch)
treeb2f4b5056fe1fbd6d1d55c7e238056d49866af77 /utils/GenLibDeps.pl
parent2b08676ca8b6a19ba02df7a2237b8d43531a586b (diff)
downloadllvm-58a4c5e8e3b12bc4dd4659bda48f2f3188067eea.tar.gz
llvm-58a4c5e8e3b12bc4dd4659bda48f2f3188067eea.tar.bz2
llvm-58a4c5e8e3b12bc4dd4659bda48f2f3188067eea.tar.xz
Add support for building on solaris, working around namespace
polution problems from system headers. Patch by Nathan Keynes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52682 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;