diff --git a/Formula/boost.rb b/Formula/boost.rb index 702d6d315f4..7f9b0eaa3a8 100644 --- a/Formula/boost.rb +++ b/Formula/boost.rb @@ -95,8 +95,6 @@ class Boost < Formula # we specify libdir too because the script is apparently broken bargs = ["--prefix=#{prefix}", "--libdir=#{lib}"] - bargs << "--with-toolset=clang" if build.with? "c++11" - if build.with? 'icu' icu4c_prefix = Formula.factory('icu4c').opt_prefix bargs << "--with-icu=#{icu4c_prefix}" @@ -138,8 +136,7 @@ class Boost < Formula end if MacOS.version >= :lion and build.with? 'c++11' - args << "toolset=clang" << "cxxflags=-std=c++11" - args << "cxxflags=-stdlib=libc++" << "cxxflags=-fPIC" + args << "cxxflags=-std=c++11" << "cxxflags=-stdlib=libc++" args << "cxxflags=-arch #{Hardware::CPU.arch_64_bit}" if MacOS.prefer_64_bit? or build.universal? args << "cxxflags=-arch #{Hardware::CPU.arch_32_bit}" if !MacOS.prefer_64_bit? or build.universal? args << "linkflags=-stdlib=libc++"