diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-21 18:38:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-21 18:38:56 +0000 |
commit | c625d3151c7fbfa167b153e64a5ea1b9841394e3 (patch) | |
tree | a3589c44cf4828022869a310f4e14976456d2b20 /Makefile.rules | |
parent | d83318450b96c143e8242e6676eafe55a2539cbc (diff) | |
download | external_llvm-c625d3151c7fbfa167b153e64a5ea1b9841394e3.zip external_llvm-c625d3151c7fbfa167b153e64a5ea1b9841394e3.tar.gz external_llvm-c625d3151c7fbfa167b153e64a5ea1b9841394e3.tar.bz2 |
Better OpenBSD support, patch by Amit Kulkarni. I have no way to test
that this doesn't break gold, but it seems reasonable to me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 363fa96..c0a9112 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -973,7 +973,9 @@ $(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir $(Verb) echo "{" > $@ $(Verb) grep -q "\<" $< && echo " global:" >> $@ || : $(Verb) sed -e 's/$$/;/' -e 's/^/ /' < $< >> $@ +ifneq ($(HOST_OS),OpenBSD) $(Verb) echo " local: *;" >> $@ +endif $(Verb) echo "};" >> $@ clean-local:: -$(Verb) $(RM) -f $(NativeExportsFile) |