diff options
| author | Jack Nagel | 2012-12-22 17:39:30 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-12-22 17:40:03 -0600 |
| commit | 3f5c504a976e40833959552c064191ced9cc5cca (patch) | |
| tree | 19d8339e57742cfbb73b437fde1fc89941c26863 | |
| parent | 471d722d0c0515afb4258663b4686d5546445bdc (diff) | |
| download | homebrew-3f5c504a976e40833959552c064191ced9cc5cca.tar.bz2 | |
mksh: fix build with clang
Fixes #16191.
| -rw-r--r-- | Library/Formula/mksh.rb | 2 |
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 |
