Skip to content
Snippets Groups Projects
Commit 8fbb5856 authored by Lars Kanis's avatar Lars Kanis
Browse files

Use release mode, unless extconf.rb is called with --enable-debug,

so that all FXTRACE() and FXASSERT() calls are skiped, per default.

This should improve performance.
parent 0bb62a4b
No related branches found
No related tags found
No related merge requests found
=== 1.6.32 / unreleased
* Avoid call to rb_class2name() during GC. Fixes #21
* Use release mode, unless extconf.rb is called with --enable-debug,
so that all FXTRACE() and FXASSERT() calls are skiped, per default.
=== 1.6.31 / 2015-07-21
......
......@@ -230,6 +230,7 @@ def do_rake_compiler_setup
"--without-x",
"--enable-shared",
"--disable-static",
enable_config("debug") ? "--enable-debug" : "--enable-release",
]
class << recipe
def compile
......@@ -390,6 +391,10 @@ unless enable_config("win32-cross")
end
end
unless enable_config("debug")
$CPPFLAGS += " -DNDEBUG"
end
# Platform-specific modifications
do_rake_compiler_setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment