From 04d35cbbb03e68759fc6f05c0149daa8cd655fce Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 2 Feb 2014 18:13:09 +0000 Subject: Prefer mktemp over tempnam. --- src/gui/gui.pro.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/gui.pro.in b/src/gui/gui.pro.in index c67666d6..a34f55cc 100644 --- a/src/gui/gui.pro.in +++ b/src/gui/gui.pro.in @@ -18,6 +18,17 @@ macx { CONFIG -= app_bundle } +macx-g++ { + QMAKE_CFLAGS -= -Xarch_x86_64 + QMAKE_CFLAGS_X86_64 -= -Xarch_x86_64 + + QMAKE_CXXFLAGS -= -Xarch_x86_64 + QMAKE_CXXFLAGS_X86_64 -= -Xarch_x86_64 + + QMAKE_LFLAGS -= -Xarch_x86_64 + QMAKE_LFLAGS_X86_64 -= -Xarch_x86_64 +} + ## We are building a GUI application. TEMPLATE = app @@ -43,5 +54,6 @@ SOURCES += server.cc conversation.cc main-window.cc debate.cc main.cc LIBS += $$OA_RT_LIB $$OA_SYNTAX_LIB $$OA_LIB $$OA_IOLIB ## C++ compiler -#QMAKE_CXX = @CXX@ +QMAKE_CXX = @CXX@ QMAKE_CXXFLAGS += -std=c++11 +QMAKE_LINK = @CXX@ -- cgit v1.2.3