Changeset 95163 in webkit
- Timestamp:
- Sep 14, 2011 9:33:16 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r95157 r95163 1 2011-09-14 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Replace QT_GCC_X as they don't exist in Qt5 anymore. 4 https://bugs.webkit.org/show_bug.cgi?id=68114 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Replace QT_GCC_X variables, they have been removed in Qt5. It was 9 actually wrong to use them because they tell about which GCC version 10 Qt has been compiled, not the current version of GCC use to build webkit. 11 I use gcc -dumpversion to get it. 12 13 * Source/WebKit.pri: 14 1 15 2011-09-14 Ulan Degenbaev <ulan@chromium.org> 2 16 -
trunk/Source/JavaScriptCore/ChangeLog
r95162 r95163 1 2011-09-14 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Replace QT_GCC_X as they don't exist in Qt5 anymore. 4 https://bugs.webkit.org/show_bug.cgi?id=68114 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Use the new GCC_X variables defined in WebKit.pri to replace 9 the usage of QT_GCC_X. 10 11 * JavaScriptCore.pro: 12 1 13 2011-09-14 Sheriff Bot <webkit.review.bot@gmail.com> 2 14 -
trunk/Source/JavaScriptCore/JavaScriptCore.pro
r95134 r95163 34 34 # Rules when JIT enabled (not disabled) 35 35 !contains(DEFINES, ENABLE_JIT=0) { 36 linux*-g++*:greaterThan( QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {36 linux*-g++*:greaterThan(GCC_MAJOR_VERSION,3):greaterThan(GCC_MINOR_VERSION,0) { 37 37 QMAKE_CXXFLAGS += -fno-stack-protector 38 38 QMAKE_CFLAGS += -fno-stack-protector … … 217 217 } 218 218 219 lessThan( QT_GCC_MAJOR_VERSION, 5) {219 lessThan(GCC_MAJOR_VERSION, 5) { 220 220 # GCC 4.5 and before 221 lessThan( QT_GCC_MINOR_VERSION, 6) {221 lessThan(GCC_MINOR_VERSION, 6) { 222 222 # Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec. 223 223 *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x … … 225 225 226 226 # GCC 4.6 and after. 227 greaterThan( QT_GCC_MINOR_VERSION, 5) {227 greaterThan(GCC_MINOR_VERSION, 5) { 228 228 if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) { 229 229 # We need to deactivate those warnings because some names conflicts with upcoming c++0x types (e.g.nullptr). -
trunk/Source/WebKit.pri
r94866 r95163 96 96 linux-g++* { 97 97 isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror 98 99 greaterThan(QT_GCC_MAJOR_VERSION, 3):greaterThan(QT_GCC_MINOR_VERSION, 5) { 98 GCC_VERSION = $$system(gcc -dumpversion) 99 GCC_VERSION = $$split(GCC_VERSION, ".") 100 GCC_MAJOR_VERSION = $$first(GCC_VERSION) 101 GCC_MINOR_VERSION = $$member(GCC_VERSION, 1) 102 greaterThan(GCC_MAJOR_VERSION, 3):greaterThan(GCC_MINOR_VERSION, 5) { 100 103 if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) { 101 104 # We need to deactivate those warnings because some names conflicts with upcoming c++0x types (e.g.nullptr).
Note: See TracChangeset
for help on using the changeset viewer.