From 19de59fd41e5de84b6a6f73e58cb317e574d76da Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 19 Feb 2014 18:34:48 -0800 Subject: tuntap: force the right compiler --- Library/Formula/tuntap.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3