From 59b8a869ab5c2b84ecd8f8624a955438b5f8679f Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Tue, 4 Dec 2012 13:42:21 -0500 Subject: [PATCH] Compile c/objective-c code max compatiblity when RELEASE --- bitcoin-qt.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index e78318e28..3b2de5af3 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -24,6 +24,8 @@ UI_DIR = build contains(RELEASE, 1) { # Mac: compile for maximum compatibility (10.5, 32-bit) macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk + macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk + macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk !windows:!macx { # Linux: static link