RemoteLinux: Suppress "-j" option in MakeInstallStep

Depending on the build system, the job count option as used in the
MakeStep class might not be available.

Task-number: QTCREATORBUG-22689
Change-Id: I8c6cf31bbd270816a527ab465a2125d7dfc1f7de
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Christian Kandeler
2019-07-15 17:01:41 +02:00
parent 596d310d42
commit cf641fc04f
2 changed files with 2 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ public:
static QString msgNoMakeCommand(); static QString msgNoMakeCommand();
static Task makeCommandMissingTask(); static Task makeCommandMissingTask();
bool isJobCountSupported() const; virtual bool isJobCountSupported() const;
int jobCount() const; int jobCount() const;
void setJobCount(int count); void setJobCount(int count);
bool jobCountOverridesMakeflags() const; bool jobCountOverridesMakeflags() const;

View File

@@ -48,6 +48,7 @@ private:
bool init() override; bool init() override;
void finish(bool success) override; void finish(bool success) override;
void stdError(const QString &line) override; void stdError(const QString &line) override;
bool isJobCountSupported() const override { return false; }
Utils::FilePath installRoot() const; Utils::FilePath installRoot() const;
bool cleanInstallRoot() const; bool cleanInstallRoot() const;