diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-24 17:44:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-24 17:44:42 +0000 |
commit | 58a4c5e8e3b12bc4dd4659bda48f2f3188067eea (patch) | |
tree | b2f4b5056fe1fbd6d1d55c7e238056d49866af77 /utils/GenLibDeps.pl | |
parent | 2b08676ca8b6a19ba02df7a2237b8d43531a586b (diff) |
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-x | utils/GenLibDeps.pl | 2 |
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; |