Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: tools/lto/Makefile

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/llvm-nm/llvm-nm.cpp ('k') | tools/opt/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tools/llvm-nm/llvm-nm.cpp ('k') | tools/opt/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698