From b6323bbfabf67f1dc55a790868198f37fb23cca1 Mon Sep 17 00:00:00 2001 From: jnothman Date: Wed, 18 Apr 2012 12:15:47 +1000 Subject: Octave: fix compilation on 32 bit architectures This fixes a bug where 32 bit compilations create spurious 'invalid assignment to cs-list outside multiple assignment' errors in Octave. See Fink's similar clause and discussion at http://www.mail-archive.com/fink-beginners@lists.sourceforge.net/msg26536.html. Signed-off-by: Adam Vandenberg --- Library/Formula/octave.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') 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" -- cgit v1.2.3