diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-02-28 14:58:07 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2011-03-01 09:22:28 (GMT) |
commit | d276c62812cf7404c45d447b211109f985da74a5 (patch) | |
tree | cbedb25fcfba30c1fa2849cbf0fb228ea2c4895d | |
parent | 2699e8dae2b160f8d001459a7993b61fe4b1fac3 (diff) | |
download | Qt-d276c62812cf7404c45d447b211109f985da74a5.zip Qt-d276c62812cf7404c45d447b211109f985da74a5.tar.gz Qt-d276c62812cf7404c45d447b211109f985da74a5.tar.bz2 |
Enable QtScript/JavaScriptCore ASSERTs in debug mode
The fact that QtWebKit disables asserts in debug mode
doesn't mean QtScript should do the same.
The asserts can make us aware of problems in our calls
to JSC, and violations of internal assumptions in JSC
(e.g. memory alignment).
Task-number: QTBUG-17741
Reviewed-by: Olivier Goffart
-rw-r--r-- | src/script/script.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.pro b/src/script/script.pro index 162eb9c..54f7c4a 100644 --- a/src/script/script.pro +++ b/src/script/script.pro @@ -73,7 +73,7 @@ INCLUDEPATH += $$WEBKITDIR/JavaScriptCore/generated # This line copied from WebCore.pro DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1 -DEFINES += NDEBUG +CONFIG(release, debug|release):DEFINES += NDEBUG solaris-g++:isEqual(QT_ARCH,sparc) { CONFIG -= separate_debug_info |