RESOLVED INVALID 17478
testkjs build lacks some defines
https://bugs.webkit.org/show_bug.cgi?id=17478
Summary testkjs build lacks some defines
Mike Hommey
Reported 2008-02-21 11:32:01 PST
When building from qmake generated Makefiles, and building the testkjs target in JavaScriptCore/kjs, a whole bunch of defines are lacking on the gcc command line, more specifically -DNDEBUG when not building debug builds, which, in turn, has the nice side effect of provoking a gcc internal compiler error on s390 because of the 0xbbadbeef pointer, which is another story. The following patch is enough to bring the defines in, though that might be too much diff --git a/JavaScriptCore/kjs/testkjs.pro b/JavaScriptCore/kjs/testkjs.pro index ab3016b..dcffabb 100644 --- a/JavaScriptCore/kjs/testkjs.pro +++ b/JavaScriptCore/kjs/testkjs.pro @@ -20,6 +20,7 @@ OBJECTS_DIR = tmp OBJECTS_DIR_WTR = $$OBJECTS_DIR/ win32-*: OBJECTS_DIR_WTR ~= s|/|\| include($$PWD/../JavaScriptCore.pri) +include($$PWD/../../WebKit.pri) # Hack! Fix this. SOURCES -= API/JSBase.cpp \
Attachments
Gavin Barraclough
Comment 1 2011-09-06 22:50:01 PDT
Resolving because none of this still exists. If this bug is in any way still valid (e.g. is testapi a descendant of testkjs) then please reopen with updated steps to reproduce. Thanks!
Note You need to log in before you can comment on or make changes to this bug.