Commit 5c10de55 by Marcin Cieslak

Exclude -DDEBUG from the libsass build

If compiling using the debug build of node
-DDEBUG and -D_DEBUG flags are automatically
added.

This causes libsass to produce additional
debugging output that may interfere with
tests.

Once this is resolved, this can be reverted.

Reported-as: https://github.com/sass/libsass/issues/1518
parent 9d83b9ab
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
'defines': [ 'defines': [
'LIBSASS_VERSION="<!(node -e "process.stdout.write(require(\'../package.json\').libsass)")"' 'LIBSASS_VERSION="<!(node -e "process.stdout.write(require(\'../package.json\').libsass)")"'
], ],
'defines!': [
'DEBUG'
],
'sources': [ 'sources': [
'libsass/ast.cpp', 'libsass/ast.cpp',
'libsass/base64vlq.cpp', 'libsass/base64vlq.cpp',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment