diff options
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb index 0547a3e966..6f479eaa26 100644 --- a/ext/date/extconf.rb +++ b/ext/date/extconf.rb @@ -1,3 +1,5 @@ require 'mkmf' -try_cflags("-std=iso9899:1999") +if try_cflags("-std=iso9899:1999") + $CFLAGS += " " << "-std=iso9899:1999" +end create_makefile('date_core') |