Skip to content

Commit 5e6c874

Browse files
author
ge69dal
committed
fix
1 parent 1ca501d commit 5e6c874

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mainwindow.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,8 +962,11 @@ void MainWindow::buildProgram(bool debugMode)
962962
linkerOutput = Common::pathInTemp("linkererror.txt");
963963
linkerProcess.setStandardOutputFile(linkerOutput);
964964
linkerProcess.setStandardErrorFile(linkerOutput, QIODevice::Append);
965-
965+
966+
#ifdef Q_OS_WIN32
967+
#else
966968
linkerArguments << "-pthread";
969+
#endif
967970
if (settings.value("sasmverbose", false).toBool())
968971
printLog("Linker: "+linker+" "+linkerArguments.join(" ")+"\n", Qt::darkGreen);
969972

0 commit comments

Comments
 (0)