diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/botan.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/botan.rb b/Library/Formula/botan.rb index 178a52ab3..2233d6855 100644 --- a/Library/Formula/botan.rb +++ b/Library/Formula/botan.rb @@ -11,12 +11,9 @@ class Botan < Formula args = ["--prefix=#{prefix}"] args << "--cpu=x86_64" if MacOS.prefer_64_bit? args << "--enable-debug" if build.include? "enable-debug" - # The --cc option needs "clang" or "gcc" and not the full path. - args << "--cc=#{ENV.compiler.to_s}" + args << "--cc=#{ENV.compiler}" system "./configure.py", *args - # "-soname" can lead to issues like https://github.com/mxcl/homebrew/issues/11972 - inreplace "Makefile", "-Wl,-soname", "-dynamiclib -install_name " # A hack to force them use our CFLAGS. MACH_OPT is empty in the Makefile # but used for each call to cc/ld. system "make", "install", "MACH_OPT=#{ENV.cflags}" |
