Ignore:
Timestamp:
Aug 13, 2013, 8:28:32 AM (12 years ago)
Author:
[email protected]
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:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.