summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2009-11-23 15:16:28 +1000
committerWayne Meissner <wmeissner@gmail.com>2009-11-26 22:33:18 +1000
commit1916c11e7d1c9c529849e9854121e7a7d1870077 (patch)
tree18dab3e36a8b8f028c3c0a884f3128835a071858
parenta4104c37bd21c7d55c1a4b9ca9374d9b316c3fc4 (diff)
downloadffi-1916c11e7d1c9c529849e9854121e7a7d1870077.tar.gz
tail pad $CFLAGS as well
-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 0214758..301a1ff 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