summaryrefslogtreecommitdiffhomepage
path: root/tasks/toolchains
diff options
context:
space:
mode:
authormattn <[email protected]>2013-02-01 21:41:34 +0900
committermattn <[email protected]>2013-02-01 21:41:34 +0900
commita2ff17b5463f57d308057035fcd6e51e72a7247b (patch)
treee3ba73c72a6309fe21e74376d89de335685a59c2 /tasks/toolchains
parent21310019639d7c6ec13b558ba73766121985950e (diff)
downloadmruby-a2ff17b5463f57d308057035fcd6e51e72a7247b.tar.gz
mruby-a2ff17b5463f57d308057035fcd6e51e72a7247b.zip
Change the way that the DISABLE_GEMS flag is set for vs2012.
Diffstat (limited to 'tasks/toolchains')
-rw-r--r--tasks/toolchains/vs2012.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/toolchains/vs2012.rake b/tasks/toolchains/vs2012.rake
index 2852a5f8a..2f1a608b0 100644
--- a/tasks/toolchains/vs2012.rake
+++ b/tasks/toolchains/vs2012.rake
@@ -1,7 +1,7 @@
MRuby::Toolchain.new(:vs2012) do |conf|
[conf.cc, conf.cxx].each do |cc|
cc.command = ENV['CC'] || 'cl.exe'
- cc.flags = [ENV['CFLAGS'] || %w(/c /nologo /W3 /D_DEBUG /MDd /Zi /Od /RTC1 /DDISABLE_GEMS /DHAVE_STRING_H /DNO_GETTIMEOFDAY /D_CRT_SECURE_NO_WARNINGS)]
+ cc.flags = [ENV['CFLAGS'] || %w(/c /nologo /W3 /D_DEBUG /MDd /Zi /Od /RTC1 /DHAVE_STRING_H /DNO_GETTIMEOFDAY /D_CRT_SECURE_NO_WARNINGS)]
cc.include_paths = ["#{root}/include"]
cc.defines = %w(DISABLE_GEMS)
cc.option_include_path = '/I%s'