From 06dffdd9e33b086d80a0829f01f1809af4079a28 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 28 Nov 2010 10:40:44 +0000 Subject: [PATCH] Do not use C++0x on Mac until Mac OSX Lion is released (current gcc is too old). --- chatcleaner.pro | 1 + pokerth_db.pro | 1 + pokerth_game.pro | 1 + pokerth_lib.pro | 1 + pokerth_protocol.pro | 1 - pokerth_server.pro | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/chatcleaner.pro b/chatcleaner.pro index c0f61590..ed5d370d 100644 --- a/chatcleaner.pro +++ b/chatcleaner.pro @@ -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/ } diff --git a/pokerth_db.pro b/pokerth_db.pro index 22a1f7f2..2048e841 100644 --- a/pokerth_db.pro +++ b/pokerth_db.pro @@ -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. diff --git a/pokerth_game.pro b/pokerth_game.pro index 215adc7c..b93f35f8 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -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. diff --git a/pokerth_lib.pro b/pokerth_lib.pro index b056b848..596775a1 100644 --- a/pokerth_lib.pro +++ b/pokerth_lib.pro @@ -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. diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index 6c95b61c..6695d1d1 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -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 += . \ diff --git a/pokerth_server.pro b/pokerth_server.pro index e91d3979..3dca9618 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -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.