From 03c06a689d515bfc381a740be3b3eb76a5b50709 Mon Sep 17 00:00:00 2001 From: Alex Young Date: Sat, 14 Jul 2012 10:05:35 +0100 Subject: [PATCH] Append the CFLAGS environment variable to the build flags. This is going to be used for the DIRECT_IO flag. --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0cded4a..b3c53f9 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,8 @@ CCFLAGS = %w( -Werror-implicit-function-declaration -Wstrict-prototypes -Wno-missing-field-initializers - ) # Added -Wno-missing-field-initializers to shut GCC up over {0} struct initialisers + ) + # Added -Wno-missing-field-initializers to shut GCC up over {0} struct initialisers + [ENV['CFLAGS']] LDFLAGS = [] LIBCHECK = "/usr/lib/libcheck.a"