aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndrew Janke2013-04-24 03:41:24 -0400
committerAdam Vandenberg2013-05-02 10:14:20 -0700
commitc85600b426b2aba6fcf756f46bf2a88934e3fa30 (patch)
treec25b547a78d194426c5ee797c65b89608bb31345 /Library/Formula
parent4fcd20b072e7f491452e84cfc90fa9e6357f18cf (diff)
downloadhomebrew-c85600b426b2aba6fcf756f46bf2a88934e3fa30.tar.bz2
fio: fix "error: Define GOLDEN_RATIO_PRIME"
Let fio's own CFLAGS settings stand instead of clearing them in the formula. The new 2.0.15 fio build was breaking because the Makefile changed around since 2.0.7, and is now using CFLAGS to pass necessary macros and "-include" options to the build. The formula was crushing it with "CFLAGS=", which broke the build. Also turn on "V=1" to get normal full output from make, showing cc command lines, instead of the terse "CC foo.o" output, which makes it harder to diagnose. Fixes #19380. Closes #19423. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fio.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/fio.rb b/Library/Formula/fio.rb
index f128cdaa4..e59300db8 100644
--- a/Library/Formula/fio.rb
+++ b/Library/Formula/fio.rb
@@ -6,10 +6,12 @@ class Fio < Formula
sha1 '3b672f19ef37d0f4d733dc78820a5e4a735b9a7f'
def install
+ system "./configure"
+ # fio's CFLAGS passes vital stuff around, and crushing it will break the build
system "make", "prefix=#{prefix}",
"mandir=#{man}",
"CC=#{ENV.cc}",
- "CFLAGS=#{ENV.cflags}",
+ "V=true", # get normal verbose output from fio's makefile
"install"
end
end