diff options
| author | Misty De Meo | 2013-10-17 18:33:35 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-17 18:34:07 -0700 |
| commit | abfa9f3ad8ce712b46519fb875a53711110e09fb (patch) | |
| tree | 49dd68d3da3d87ed4f11210443af214d2ea49a1e /Library/Formula | |
| parent | 7eb4405786c811d9d258dc9afad0a78f7bfc4136 (diff) | |
| download | homebrew-abfa9f3ad8ce712b46519fb875a53711110e09fb.tar.bz2 | |
serf: make sure compiler choice is respected
Diffstat (limited to 'Library/Formula')
| -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 |
