diff options
| author | Misty De Meo | 2013-07-25 09:50:41 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-07-25 09:50:41 -0700 |
| commit | 8d2d939ae20e5e2bcced909673bd11a9b454d920 (patch) | |
| tree | f5080a3fffa005085042ec414565d720697304fb /Library/Formula | |
| parent | 156fd6eefe0272440f2e25a92ff6cfef2e97ca30 (diff) | |
| download | homebrew-8d2d939ae20e5e2bcced909673bd11a9b454d920.tar.bz2 | |
serf: pass build variables
Fixes #21434.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/serf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb index 1093f7a2c..4fb3e7545 100644 --- a/Library/Formula/serf.rb +++ b/Library/Formula/serf.rb @@ -13,7 +13,8 @@ class Serf < Formula def install ENV.universal_binary if build.universal? - system "scons", "PREFIX=#{prefix}" + system "scons", "PREFIX=#{prefix}", "CC=#{ENV.cc}", + "CFLAGS=#{ENV.cflags}", "LINKFLAGS=#{ENV.ldflags}", "CPPFLAGS=#{ENV.cppflags}" system "scons install" end end |
