| Index: tools/lto/Makefile
|
| diff --git a/tools/lto/Makefile b/tools/lto/Makefile
|
| index 530c05a47318b970b1052d1e6e7e0a593ae3a8f5..652d37a528c635764c2ff7a4e4d31f9755bbc07d 100644
|
| --- a/tools/lto/Makefile
|
| +++ b/tools/lto/Makefile
|
| @@ -40,3 +40,11 @@ ifeq ($(HOST_OS),Darwin)
|
| -Wl,-object_path_lto -Wl,$(TempFile)
|
| endif
|
| endif
|
| +
|
| +#@ LOCALMOD-BEGIN
|
| +# This is to fix an upstream bug. It is in the process of being upstreamed.
|
| +# This line can be removed after it has been fixed upstream and we've merged.
|
| +ifneq ($(HOST_OS),Darwin)
|
| + LLVMLibsOptions := $(LLVMLibsOptions) -Wl,-soname=$(SharedPrefix)LTO$(SHLIBEXT)
|
| +endif
|
| +#@ LOCALMOD-END
|
|
|