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
This commit is contained in:
parent
786e04cda5
commit
22b7495ec8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue