aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-23 07:01:23 -0700
committerAdam Vandenberg2012-10-23 07:01:23 -0700
commit9f3846c8da46560d95df003fbb506450072fc100 (patch)
tree131ee033e869f5ad3266b03bfa922284f996e6f8 /Library
parenta9c7e5ec026d423daf01567ed21bbe5222579d1e (diff)
downloadhomebrew-9f3846c8da46560d95df003fbb506450072fc100.tar.bz2
iozone: specify CC
Also fix patch fuzz.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iozone.rb4
1 files changed, 2 insertions, 2 deletions
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)