summaryrefslogtreecommitdiff
path: root/src/3rdparty/clipper/clipper.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/clipper/clipper.pro')
-rw-r--r--src/3rdparty/clipper/clipper.pro9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/3rdparty/clipper/clipper.pro b/src/3rdparty/clipper/clipper.pro
index 7ced65ac..874d55c5 100644
--- a/src/3rdparty/clipper/clipper.pro
+++ b/src/3rdparty/clipper/clipper.pro
@@ -1,16 +1,15 @@
TARGET = clipper
-CONFIG += staticlib
-CONFIG += exceptions
-CONFIG += warn_off
+CONFIG += staticlib exceptions warn_off optimize_full
load(qt_helper_lib)
# workaround for QTBUG-31586
contains(QT_CONFIG, c++11): CONFIG += c++11
-*-g++* {
- QMAKE_CXXFLAGS += -O3 -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wno-error=return-type
+gcc {
+ QMAKE_CFLAGS_OPTIMIZE_FULL += -ffast-math
+ !clang:!intel_icc:!rim_qcc: QMAKE_CXXFLAGS_WARN_ON += -Wno-error=return-type
}
HEADERS += clipper.h