Do not use C++0x on Mac until Mac OSX Lion is released (current gcc is too old).
This commit is contained in:
@@ -63,6 +63,7 @@ mac {
|
|||||||
CONFIG += x86
|
CONFIG += x86
|
||||||
CONFIG -= ppc
|
CONFIG -= ppc
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
||||||
LIBPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/lib
|
LIBPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/lib
|
||||||
INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/
|
INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ mac{
|
|||||||
CONFIG += x86
|
CONFIG += x86
|
||||||
CONFIG -= ppc
|
CONFIG -= ppc
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
||||||
|
|
||||||
# for universal-compilation on PPC-Mac uncomment the following line
|
# for universal-compilation on PPC-Mac uncomment the following line
|
||||||
# on Intel-Mac you have to comment this line out or build will fail.
|
# on Intel-Mac you have to comment this line out or build will fail.
|
||||||
|
|||||||
@@ -476,6 +476,7 @@ mac {
|
|||||||
CONFIG += x86
|
CONFIG += x86
|
||||||
CONFIG -= ppc
|
CONFIG -= ppc
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
||||||
|
|
||||||
# for universal-compilation on PPC-Mac uncomment the following line
|
# for universal-compilation on PPC-Mac uncomment the following line
|
||||||
# on Intel-Mac you have to comment this line out or build will fail.
|
# on Intel-Mac you have to comment this line out or build will fail.
|
||||||
|
|||||||
@@ -240,6 +240,7 @@ mac{
|
|||||||
CONFIG += x86
|
CONFIG += x86
|
||||||
CONFIG -= ppc
|
CONFIG -= ppc
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
||||||
|
|
||||||
# for universal-compilation on PPC-Mac uncomment the following line
|
# for universal-compilation on PPC-Mac uncomment the following line
|
||||||
# on Intel-Mac you have to comment this line out or build will fail.
|
# on Intel-Mac you have to comment this line out or build will fail.
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ OBJECTS_DIR = obj
|
|||||||
DEFINES += ENABLE_IPV6
|
DEFINES += ENABLE_IPV6
|
||||||
QT -= core \
|
QT -= core \
|
||||||
gui
|
gui
|
||||||
QMAKE_CXXFLAGS += -std=gnu++0x
|
|
||||||
# PRECOMPILED_HEADER = src/pch_lib.h
|
# PRECOMPILED_HEADER = src/pch_lib.h
|
||||||
|
|
||||||
INCLUDEPATH += . \
|
INCLUDEPATH += . \
|
||||||
|
|||||||
@@ -295,6 +295,7 @@ mac {
|
|||||||
CONFIG += x86
|
CONFIG += x86
|
||||||
CONFIG -= ppc
|
CONFIG -= ppc
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
||||||
|
|
||||||
# for universal-compilation on PPC-Mac uncomment the following line
|
# for universal-compilation on PPC-Mac uncomment the following line
|
||||||
# on Intel-Mac you have to comment this line out or build will fail.
|
# on Intel-Mac you have to comment this line out or build will fail.
|
||||||
|
|||||||
Reference in New Issue
Block a user