From c85600b426b2aba6fcf756f46bf2a88934e3fa30 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Wed, 24 Apr 2013 03:41:24 -0400 Subject: 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 --- Library/Formula/fio.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3