diff --git a/node_build/make.js b/node_build/make.js index 6f25afa..cf8b340 100644 --- a/node_build/make.js +++ b/node_build/make.js @@ -66,9 +66,9 @@ Builder.configure({ // Broken GCC patch makes -fstack-protector-all not work // workaround is to give -fno-stack-protector first. // see: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/691722 - '-fno-stack-protector', - '-fstack-protector-all', - '-Wstack-protector', + //'-fno-stack-protector', + //'-fstack-protector-all', + //'-Wstack-protector', '-D','HAS_BUILTIN_CONSTANT_P', @@ -84,11 +84,12 @@ Builder.configure({ // disable for speed, enable for safety '-D','Identity_CHECK=1', - '-D','Allocator_USE_CANARIES=1', + //'-D','Allocator_USE_CANARIES=1', '-D','PARANOIA=1' ); var logLevel = process.env['Log_LEVEL'] || 'DEBUG'; builder.config.cflags.push('-D','Log_'+logLevel); + process.env['NO_PIE'] = 'true'; if (process.env['NO_PIE'] === undefined) { builder.config.cflags.push('-fPIE'); }