Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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 16, 2015
1 parent 0c9eb05 commit 67d038f
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 67d038f

Please sign in to comment.