From 9f3846c8da46560d95df003fbb506450072fc100 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 23 Oct 2012 07:01:23 -0700 Subject: iozone: specify CC Also fix patch fuzz. --- Library/Formula/iozone.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/iozone.rb b/Library/Formula/iozone.rb index 89c081ffe..9b2a0786b 100644 --- a/Library/Formula/iozone.rb +++ b/Library/Formula/iozone.rb @@ -12,7 +12,7 @@ class Iozone < Formula end def install - system "make -C src/current macosx" + system "make", "-C", "src/current", "macosx", "CC=#{ENV.cc}" bin.install 'src/current/iozone' man1.install 'docs/iozone.1' end @@ -25,7 +25,7 @@ end __END__ --- a/src/current/iozone.c 2011-12-16 09:17:05.000000000 -0800 +++ b/src/current/iozone.c 2012-02-28 16:57:58.000000000 -0800 -@@ -1810,7 +1810,7 @@ +@@ -1820,7 +1810,7 @@ break; #endif #if ! defined(DONT_HAVE_O_DIRECT) -- cgit v1.2.3