Skip to content
Snippets Groups Projects
Commit 22b7495e authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 126135
parent 786e04cd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment