diff options
| author | Xin Sun | 2013-11-15 02:42:52 +0800 |
|---|---|---|
| committer | Jack Nagel | 2013-11-21 16:44:52 -0600 |
| commit | 652b68fd910928c01160cf73a7bddef74b28b5aa (patch) | |
| tree | 34cefb087ac4477c5804ed671da1722a4d2f33b1 /Library/Formula/gmp.rb | |
| parent | 88ac11b6c7e0c380ee63c8d1a13cb783c97e961d (diff) | |
| download | homebrew-652b68fd910928c01160cf73a7bddef74b28b5aa.tar.bz2 | |
Add c++11 option to tbb, gmp, and libtiff
Closes #24024.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gmp.rb')
| -rw-r--r-- | Library/Formula/gmp.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index 898e206ae..c2cb68067 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -15,6 +15,7 @@ class Gmp < Formula end option '32-bit' + option :cxx11 # Patches gmp.h to remove the __need_size_t define, which # was preventing libc++ builds from getting the ptrdiff_t type @@ -24,6 +25,7 @@ class Gmp < Formula end def install + ENV.cxx11 if build.cxx11? args = ["--prefix=#{prefix}", "--enable-cxx"] if build.build_32_bit? |
