Skip to content

Commit

Permalink
Exclude -DDEBUG from the libsass build
Browse files Browse the repository at this point in the history
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: sass/libsass#1518
  • Loading branch information
saper committed Sep 7, 2015
1 parent 9d83b9a commit 5c10de5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsass.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
'defines': [
'LIBSASS_VERSION="<!(node -e "process.stdout.write(require(\'../package.json\').libsass)")"'
],
'defines!': [
'DEBUG'
],
'sources': [
'libsass/ast.cpp',
'libsass/base64vlq.cpp',
Expand Down

0 comments on commit 5c10de5

Please sign in to comment.