summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2009-11-23 15:03:33 +1000
committerWayne Meissner <wmeissner@gmail.com>2009-11-26 22:33:04 +1000
commita4104c37bd21c7d55c1a4b9ca9374d9b316c3fc4 (patch)
tree4d5a492ad2ae8d7e5153b53f2bc4fc24784d4f37
parent6d51847a26827a427661e5ffce982dc16d077be2 (diff)
downloadffi-a4104c37bd21c7d55c1a4b9ca9374d9b316c3fc4.tar.gz
Insert spaces before flags appended to $CFLAGS
-rw-r--r--ext/ffi_c/extconf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/extconf.rb b/ext/ffi_c/extconf.rb
index 08ef0b4..0214758 100644
--- a/ext/ffi_c/extconf.rb
+++ b/ext/ffi_c/extconf.rb
@@ -17,8 +17,8 @@ $defs << "-DHAVE_EXTCONF_H" if $defs.empty? # needed so create_header works
create_header
-$CFLAGS << "-mwin32 " if Config::CONFIG['host_os'] =~ /cygwin/
-$CFLAGS << "-Werror -Wunused -Wformat -Wimplicit -Wreturn-type "
+$CFLAGS << " -mwin32" if Config::CONFIG['host_os'] =~ /cygwin/
+$CFLAGS << " -Werror -Wunused -Wformat -Wimplicit -Wreturn-type"
create_makefile("ffi_c")
unless libffi_ok