Changeset 154002 in webkit


Ignore:
Timestamp:
Aug 13, 2013 8:28:32 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

[Qt] Fix C++11 build with gcc 4.4 and 4.5
https://bugs.webkit.org/show_bug.cgi?id=119736

Reviewed by Anders Carlsson.

Don't force C++11 mode off anymore.

  • Target.pri:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r153967 r154002  
     12013-08-13  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        [Qt] Fix C++11 build with gcc 4.4 and 4.5
     4        https://bugs.webkit.org/show_bug.cgi?id=119736
     5
     6        Reviewed by Anders Carlsson.
     7
     8        Don't force C++11 mode off anymore.
     9
     10        * Target.pri:
     11
    1122013-08-12  Oliver Hunt  <oliver@apple.com>
    213
  • trunk/Source/JavaScriptCore/Target.pri

    r153728 r154002  
    408408    QMAKE_CFLAGS   += -mieee -w
    409409}
    410 
    411 lessThan(QT_GCC_MAJOR_VERSION, 5) {
    412     # GCC 4.5 and before
    413     lessThan(QT_GCC_MINOR_VERSION, 6) {
    414         # Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec.
    415         *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
    416     }
    417 }
Note: See TracChangeset for help on using the changeset viewer.