diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2009-11-23 15:16:28 +1000 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2009-11-26 22:33:18 +1000 |
commit | 1916c11e7d1c9c529849e9854121e7a7d1870077 (patch) | |
tree | 18dab3e36a8b8f028c3c0a884f3128835a071858 | |
parent | a4104c37bd21c7d55c1a4b9ca9374d9b316c3fc4 (diff) | |
download | ffi-1916c11e7d1c9c529849e9854121e7a7d1870077.tar.gz |
tail pad $CFLAGS as well
-rw-r--r-- | ext/ffi_c/extconf.rb | 4 |
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 |