aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mksh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mksh.rb b/Library/Formula/mksh.rb
index 40ed443d2..f4ab62ab7 100644
--- a/Library/Formula/mksh.rb
+++ b/Library/Formula/mksh.rb
@@ -15,7 +15,7 @@ class Mksh < Formula
sha1 '74450a1107664797e5fdbdeb444f18f82f0686ac'
def install
- system 'sh ./Build.sh -combine'
+ system "sh", "./Build.sh", "-c", (ENV.compiler == :clang ? "lto" : "combine")
bin.install 'mksh'
man1.install 'mksh.1'
end