Strip without -x

This commit is contained in:
probonopd
2017-02-14 23:30:53 +01:00
committed by GitHub
parent d6ade69163
commit c01275a7f6
+1 -1
View File
@@ -646,7 +646,7 @@ void runStrip(const QString &binaryPath)
LogDebug() << "Using strip:"; LogDebug() << "Using strip:";
LogDebug() << " stripping" << resolvedPath; LogDebug() << " stripping" << resolvedPath;
QProcess strip; QProcess strip;
strip.start("strip", QStringList() << "-x" << resolvedPath); strip.start("strip", QStringList() << resolvedPath);
if (!strip.waitForStarted()) { if (!strip.waitForStarted()) {
if(strip.errorString().contains("execvp: No such file or directory")){ if(strip.errorString().contains("execvp: No such file or directory")){
LogError() << "Could not start strip."; LogError() << "Could not start strip.";