Fix llvm-strip error

In NDKr19 they removed "-strip-all-gnu" argument, now
llvm-strip prints tons of:
.../llvm-strip: error: unknown argument '-strip-all-gnu'.

Change-Id: I11bb2d6abcc5f236730c57b5b93cc932c7ba58c6
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
bb10
BogDan Vatra 2019-01-28 17:11:35 +02:00 committed by Jani Heikkinen
parent b6afde4dd0
commit 0c49815333
1 changed files with 1 additions and 1 deletions

View File

@ -1880,7 +1880,7 @@ bool stripFile(const Options &options, const QString &fileName)
}
if (options.useLLVM)
strip = QString::fromLatin1("%1 -strip-all -strip-all-gnu %2").arg(shellQuote(strip), shellQuote(fileName));
strip = QString::fromLatin1("%1 -strip-all %2").arg(shellQuote(strip), shellQuote(fileName));
else
strip = QString::fromLatin1("%1 %2").arg(shellQuote(strip), shellQuote(fileName));