aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2015-01-15 10:19:48 +0000
committerMike McQuaid2015-01-15 11:15:13 +0000
commit95f6237e18f5eb37f3e2df58b438575894e4d9f6 (patch)
tree658080aad22f406bea9c57dea7947521548d14f3 /Library/Formula
parent04f93598d65a51d2662b552df4a77a21c40716ca (diff)
downloadhomebrew-95f6237e18f5eb37f3e2df58b438575894e4d9f6.tar.bz2
john-jumbo: don't use -march=native for bottles.
Closes #35883. Closes #35897. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/john-jumbo.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/john-jumbo.rb b/Library/Formula/john-jumbo.rb
index 940408110..0a2ef5cc2 100644
--- a/Library/Formula/john-jumbo.rb
+++ b/Library/Formula/john-jumbo.rb
@@ -35,7 +35,9 @@ class JohnJumbo < Formula
def install
cd "src" do
- system "./configure"
+ args = []
+ args << "--disable-native-macro" if build.bottle?
+ system "./configure", *args
system "make", "clean"
system "make", "-s", "CC=#{ENV.cc}"
end