From: Michael D. Lowis Date: Fri, 26 Sep 2014 20:25:51 +0000 (-0400) Subject: Added leak detection X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a3fa0a8776723ce2a7e3fd13488cea4e1c02c8f9;p=proto%2Fsclpl.git Added leak detection --- 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