diff --git a/monav/contractionhierarchies/contractionhierarchiesclient.pro b/monav/contractionhierarchies/contractionhierarchiesclient.pro index 52212cc..81b4284 100644 --- a/monav/contractionhierarchies/contractionhierarchiesclient.pro +++ b/monav/contractionhierarchies/contractionhierarchiesclient.pro @@ -2,6 +2,12 @@ TEMPLATE = lib CONFIG += plugin #CONFIG += debug DESTDIR = .. +unix { + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE += -O3 \ + -Wno-unused-function + QMAKE_CXXFLAGS_DEBUG += -Wno-unused-function +} HEADERS += \ utils/coordinates.h \ diff --git a/monav/gpsgrid/gpsgridclient.pro b/monav/gpsgrid/gpsgridclient.pro index 291b65c..4d26c13 100644 --- a/monav/gpsgrid/gpsgridclient.pro +++ b/monav/gpsgrid/gpsgridclient.pro @@ -20,5 +20,12 @@ HEADERS += \ utils/bithelpers.h \ utils/qthelpers.h +unix { + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE += -O3 \ + -Wno-unused-function + QMAKE_CXXFLAGS_DEBUG += -Wno-unused-function +} + SOURCES += \ gpsgridclient.cpp diff --git a/monav/unicodetournamenttrie/unicodetournamenttrieclient.pro b/monav/unicodetournamenttrie/unicodetournamenttrieclient.pro index 5b28be5..e60d838 100644 --- a/monav/unicodetournamenttrie/unicodetournamenttrieclient.pro +++ b/monav/unicodetournamenttrie/unicodetournamenttrieclient.pro @@ -15,5 +15,11 @@ HEADERS += utils/coordinates.h \ unicodetournamenttrieclient.h \ utils/qthelpers.h +unix { + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE += -O3 -Wno-unused-function + QMAKE_CXXFLAGS_DEBUG += -Wno-unused-function +} + SOURCES += \ unicodetournamenttrieclient.cpp