diff options
| author | Misty De Meo | 2014-02-19 18:34:48 -0800 |
|---|---|---|
| committer | Misty De Meo | 2014-02-19 18:34:48 -0800 |
| commit | 19de59fd41e5de84b6a6f73e58cb317e574d76da (patch) | |
| tree | 684f056a42407eb01f44999ff70489d2dde57840 /Library/Formula | |
| parent | 77f683274306b98d1bb7247af302bba016432dc6 (diff) | |
| download | homebrew-19de59fd41e5de84b6a6f73e58cb317e574d76da.tar.bz2 | |
tuntap: force the right compiler
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tuntap.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/tuntap.rb b/Library/Formula/tuntap.rb index 34e0bc094..36afce259 100644 --- a/Library/Formula/tuntap.rb +++ b/Library/Formula/tuntap.rb @@ -9,7 +9,9 @@ class Tuntap < Formula def install ENV.j1 # to avoid race conditions (can't open: ../tuntap.o) cd 'tuntap' do - system "make" + # Makefile doesn't take these from the environment + # "CCP" is in fact the var used for C++, not CXX + system "make", "CC=#{ENV.cc}", "CCP=#{ENV.cxx}" kext_prefix.install "tun.kext", "tap.kext" prefix.install "startup_item/tap", "startup_item/tun" end |
