aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/opencv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index f5b00d2b3..ae07d8965 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -42,7 +42,7 @@ class Opencv < Formula
-DBUILD_TESTS=OFF
-DBUILD_PERF_TESTS=OFF
]
- if ARGV.build_32_bit?
+ if build.build_32_bit?
args << "-DCMAKE_OSX_ARCHITECTURES=i386"
args << "-DOPENCV_EXTRA_C_FLAGS='-arch i386 -m32'"
args << "-DOPENCV_EXTRA_CXX_FLAGS='-arch i386 -m32'"