diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/serf.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb index 4467af81f..231a24295 100644 --- a/Library/Formula/serf.rb +++ b/Library/Formula/serf.rb @@ -26,7 +26,10 @@ class Serf < Formula def install ENV.universal_binary if build.universal? - system "scons", "PREFIX=#{prefix}", "GSSAPI=/usr" + # scons ignores our compiler and flags unless explicitly passed + args = %W[PREFIX=#{prefix} GSSAPI=/usr CC=#{ENV.cc} + CFLAGS=#{ENV.cflags} LINKFLAGS=#{ENV.ldflags}] + system "scons", *args system "scons install" end end |
