We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac810f commit 94c5e7aCopy full SHA for 94c5e7a
gccbasedassembler.cpp
@@ -56,7 +56,7 @@ QString GccBasedAssembler::getLinkerOptions()
56
else
57
options = "$PROGRAM.OBJ$ $MACRO.OBJ$ -g -o $PROGRAM$ -m64";
58
if (m_isPieEnabled)
59
- options += " -fno-pie -no-pie";
+ options += " -no-pie";
60
return options;
61
}
62
mainwindow.cpp
@@ -884,7 +884,7 @@ void MainWindow::buildProgram(bool debugMode)
884
885
886
//! GCC
887
- QString linkerOptions = "$PROGRAM.OBJ$ $MACRO.OBJ$ -g -o $PROGRAM$ -m32";
+ QString linkerOptions = assembler->getLinkerOptions();
888
if (settings.contains("linkingoptions"))
889
linkerOptions = settings.value("linkingoptions").toString();
890
//! macro.c compilation/copying
0 commit comments