From a3fa0a8776723ce2a7e3fd13488cea4e1c02c8f9 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Fri, 26 Sep 2014 16:25:51 -0400 Subject: [PATCH] Added leak detection --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index a431baf..a8db856 100644 --- a/Rakefile +++ b/Rakefile @@ -10,8 +10,8 @@ end # Define the compiler environment base_env = BuildEnv.new(echo: :command) do |env| env.build_dir('source','build/obj/source') - env.set_toolset(:clang) - env["CFLAGS"] += ['--std=c99', '-Wall', '-Wextra', '-Werror'] + env.set_toolset(:gcc) + env["CFLAGS"] += ['-DLEAK_DETECT_LEVEL=1', '--std=c99', '-Wall', '-Wextra'] #, '-Werror'] env["CPPPATH"] += ['modules/libopts/source'] + Dir['modules/libcds/source/**/'] end -- 2.52.0