]> git.openstreetmap.org Git - rails.git/commitdiff
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 c7fc1b8992d8929f3f4f8daf618af60fde6d5d8e..2264a3e0f5879c6d2a5a98bda64324afda3b3ea6 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