Skip to content

Commit 04a3427

Browse files
committed
Disable qmake default optimization flags
qmake overrides the user-defined optimization flags for some reason.
1 parent ffae961 commit 04a3427

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

OMEdit/OMEditGUI/OMEdit.config.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ OPENMODELICAHOME = @OPENMODELICAHOME@
99
LIBS += -L @OPENMODELICAHOME@/lib/@host_short@/omc -lOMPlot -lomqwt -lfmilib_shared -L../OMEditGUI/Debugger/Parser -lGDBMIParser -lomantlr3 @RPATH_QMAKE@ -lOpenModelicaCompiler -lOpenModelicaRuntimeC -lomcgc -L@OMBUILDDIR@/lib/@host_short@/omc @LIBOSG@
1010
INCLUDEPATH += @OPENMODELICAHOME@/include/omc/scripting-API @OPENMODELICAHOME@/include/omplot @OPENMODELICAHOME@/include/omplot/qwt @OPENMODELICAHOME@/include/@host_short@/omc/antlr3 @OPENMODELICAHOME@/include/omc/c ../../qjson-0.8.1/build/include
1111

12+
QMAKE_CXXFLAGS_RELEASE -= -O1
13+
QMAKE_CXXFLAGS_RELEASE -= -O2
14+
1215
QMAKE_CFLAGS = @CFLAGS@ @CPPFLAGS@
1316
QMAKE_CXXFLAGS = @CXXFLAGS@ @CPPFLAGS@
1417
QMAKE_LFLAGS += @LDFLAGS@

0 commit comments

Comments
 (0)