Force C99 mode.
authorTom Hughes <tom@compton.nu>
Mon, 8 Oct 2007 07:54:54 +0000 (07:54 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 8 Oct 2007 07:54:54 +0000 (07:54 +0000)
lib/quad_tile/extconf.rb

index c7fc1b8..2264a3e 100644 (file)
@@ -1,3 +1,5 @@
 require "mkmf"
 
-create_makefile("quad_tile_so")
+with_cflags("-std=c99 #{$CFLAGS}") do
+  create_makefile("quad_tile_so")
+end