From Chunky Wigeon, 11 Years ago, written in Plain Text.
Embed
  1. diff --git a/node_build/make.js b/node_build/make.js
  2. index 6f25afa..d08800d 100644
  3. --- a/node_build/make.js
  4. +++ b/node_build/make.js
  5. @@ -56,7 +56,7 @@ Builder.configure({
  6.          '-std=c99',
  7.          '-Wall',
  8.          '-Wextra',
  9. -        '-Werror',
  10. +//        '-Werror',
  11.          '-Wno-pointer-sign',
  12.          '-pedantic',
  13.          '-D',builder.config.systemName + '=1',
  14. @@ -66,9 +66,9 @@ Builder.configure({
  15.          // Broken GCC patch makes -fstack-protector-all not work
  16.          // workaround is to give -fno-stack-protector first.
  17.          // see: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/691722
  18. -        '-fno-stack-protector',
  19. -        '-fstack-protector-all',
  20. -        '-Wstack-protector',
  21. +//        '-fno-stack-protector',
  22. +//        '-fstack-protector-all',
  23. +//        '-Wstack-protector',
  24.  
  25.          '-D','HAS_BUILTIN_CONSTANT_P',
  26.  
  27. @@ -84,9 +84,10 @@ Builder.configure({
  28.  
  29.          // disable for speed, enable for safety
  30.          '-D','Identity_CHECK=1',
  31. -        '-D','Allocator_USE_CANARIES=1',
  32. -        '-D','PARANOIA=1'
  33. +        '-D','Allocator_USE_CANARIES=1'
  34. +       // '-D','PARANOIA=1'
  35.      );
  36. +    process.env['Log_LEVEL'] = 'INFO';
  37.      var logLevel = process.env['Log_LEVEL'] || 'DEBUG';
  38.      builder.config.cflags.push('-D','Log_'+logLevel);
  39.      if (process.env['NO_PIE'] === undefined) {
  40.