On Feb 18, 2011, at 10:56 AM, Amit Kulkarni wrote: > Chris and Anton, > > I am sorry that I sent out a bad Makefile.rules patch without thinking > about the other OS. I tested the Makefile.rules and confirmed that > this below patch worked on OpenBSD, and should work on others. I > verified twice with a clean rm -rf bindir. > http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/llvm/patches/patch-Makefile_rules > doesn't work at all. > > Index: Makefile.rules > =================================================================== > --- Makefile.rules (revision 125944) > +++ Makefile.rules (working copy) > @@ -971,7 +971,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)
Applied in r126135, thanks! Please let me know if there are any other openbsd patches outstanding, I think they're all in now. -Chris
