-
-
Save rolfbjarne/a8be4bd4e130fca20f3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 76c41727f0da3ce4dda28663f856b7e6a06fdc6e | |
Author: Rolf Bjarne Kvinge <[email protected]> | |
Date: Tue Dec 22 11:42:46 2015 +0100 | |
[mtouch] Don't pass -read_only_relocs to the linker if bitcode is enabled. | |
diff --git a/tools/mtouch/Application.cs b/tools/mtouch/Application.cs | |
index 317101c..521107c 100644 | |
--- a/tools/mtouch/Application.cs | |
+++ b/tools/mtouch/Application.cs | |
@@ -1760,7 +1760,9 @@ namespace MonoTouch { | |
void GetSharedCompilerFlags (StringBuilder args, string install_name) | |
{ | |
- args.Append (" -shared -read_only_relocs suppress"); | |
+ args.Append (" -shared"); | |
+ if (!App.EnableMarkerOnlyBitCode) | |
+ args.Append (" -read_only_relocs suppress"); | |
if (App.UseMonoFramework.Value) { | |
args.Append (" -F ").Append (MTouch.ProductFrameworksDirectory); | |
args.Append (" -framework Mono"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment