[llvm-commits] [llvm] r126135 - /llvm/trunk/Makefile.rules

Chris Lattner sabre at nondot.org
Mon Feb 21 10:38:56 PST 2011


Author: lattner
Date: Mon Feb 21 12:38:56 2011
New Revision: 126135

URL: http://llvm.org/viewvc/llvm-project?rev=126135&view=rev
Log:
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.

Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=126135&r1=126134&r2=126135&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Mon Feb 21 12:38:56 2011
@@ -973,7 +973,9 @@
 	$(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)





More information about the llvm-commits mailing list