Do not use C++0x on Mac until Mac OSX Lion is released (current gcc is too old).

This commit is contained in:
lotodore
2010-11-28 10:40:44 +00:00
parent 026adae06b
commit 06dffdd9e3
6 changed files with 5 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@ mac {
CONFIG += x86
CONFIG -= ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
LIBPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/lib
INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/
}
+1
View File
@@ -57,6 +57,7 @@ mac{
CONFIG += x86
CONFIG -= ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.
+1
View File
@@ -476,6 +476,7 @@ mac {
CONFIG += x86
CONFIG -= ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.
+1
View File
@@ -240,6 +240,7 @@ mac{
CONFIG += x86
CONFIG -= ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.
-1
View File
@@ -14,7 +14,6 @@ OBJECTS_DIR = obj
DEFINES += ENABLE_IPV6
QT -= core \
gui
QMAKE_CXXFLAGS += -std=gnu++0x
# PRECOMPILED_HEADER = src/pch_lib.h
INCLUDEPATH += . \
+1
View File
@@ -295,6 +295,7 @@ mac {
CONFIG += x86
CONFIG -= ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
QMAKE_CXXFLAGS -= -std=gnu++0x
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.