serf: make sure compiler choice is respected
parent
5aabaad4ab
commit
68eb44a216
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue