Ignore:
Timestamp:
Nov 18, 2009, 5:22:11 AM (16 years ago)
Author:
Simon Hausmann
Message:

[Qt] Fix detection of linux-g++

Patch by Harald Fernengel <[email protected]> on 2009-11-18
Reviewed by Simon Hausmann.

Never use "linux-g++*" to check for linux-g++, since this will break embedded
builds which use linux-arm-g++ and friends. Use 'linux*-g++*' to check for any
g++ on linux mkspec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r51032 r51110  
    6060# Rules when JIT enabled (not disabled)
    6161!contains(DEFINES, ENABLE_JIT=0) {
    62     linux-g++*:greaterThan(QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {
     62    linux*-g++*:greaterThan(QT_GCC_MAJOR_VERSION,3):greaterThan(QT_GCC_MINOR_VERSION,0) {
    6363        QMAKE_CXXFLAGS += -fno-stack-protector
    6464        QMAKE_CFLAGS += -fno-stack-protector
Note: See TracChangeset for help on using the changeset viewer.