Fix llvm-strip/readobj parameters
Change-Id: I3add593d8ad8791d694f157849e72dd26a6dc4ca Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
2fbcca719e
commit
8e3b83ad55
@ -1609,7 +1609,7 @@ QStringList getQtLibsFromElf(const Options &options, const QString &fileName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (options.useLLVM)
|
if (options.useLLVM)
|
||||||
readElf = QString::fromLatin1("%1 -needed-libs %2").arg(shellQuote(readElf), shellQuote(fileName));
|
readElf = QString::fromLatin1("%1 --needed-libs %2").arg(shellQuote(readElf), shellQuote(fileName));
|
||||||
else
|
else
|
||||||
readElf = QString::fromLatin1("%1 -d -W %2").arg(shellQuote(readElf), shellQuote(fileName));
|
readElf = QString::fromLatin1("%1 -d -W %2").arg(shellQuote(readElf), shellQuote(fileName));
|
||||||
|
|
||||||
@ -1915,7 +1915,7 @@ bool stripFile(const Options &options, const QString &fileName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (options.useLLVM)
|
if (options.useLLVM)
|
||||||
strip = QString::fromLatin1("%1 -strip-all %2").arg(shellQuote(strip), shellQuote(fileName));
|
strip = QString::fromLatin1("%1 --strip-all %2").arg(shellQuote(strip), shellQuote(fileName));
|
||||||
else
|
else
|
||||||
strip = QString::fromLatin1("%1 %2").arg(shellQuote(strip), shellQuote(fileName));
|
strip = QString::fromLatin1("%1 %2").arg(shellQuote(strip), shellQuote(fileName));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user