From 3f5c504a976e40833959552c064191ced9cc5cca Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 22 Dec 2012 17:39:30 -0600 Subject: mksh: fix build with clang Fixes #16191. --- Library/Formula/mksh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3