aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/octave.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/octave.rb')
-rw-r--r--Library/Formula/octave.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb
index 96dbb3663..f84338303 100644
--- a/Library/Formula/octave.rb
+++ b/Library/Formula/octave.rb
@@ -81,6 +81,8 @@ class Octave < Formula
"--with-umfpack=-lumfpack -lsuitesparseconfig",
]
args << "--without-framework-carbon" if MacOS.lion?
+ # avoid spurious 'invalid assignment to cs-list' erorrs on 32 bit installs:
+ args << 'CXXFLAGS=-O0' if !MacOS.prefer_64_bit?
system "./configure", *args
system "make all"