aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2014-02-02 18:13:09 +0000
committerdos-reis <gdr@axiomatics.org>2014-02-02 18:13:09 +0000
commit04d35cbbb03e68759fc6f05c0149daa8cd655fce (patch)
tree084d8ff9ff43e9a7c4efc4c1d2efab8be97e9e48 /src/gui
parentca207c84f9c3fb49a1fed906d5de6b2db547ad1d (diff)
downloadopen-axiom-04d35cbbb03e68759fc6f05c0149daa8cd655fce.tar.gz
Prefer mktemp over tempnam.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.pro.in14
1 files changed, 13 insertions, 1 deletions
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@