mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
d83318450b
commit
c625d3151c
@ -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
Block a user