Add -j1 to "make install" in CLFS
This commit is contained in:
parent
3cb4ef5b5a
commit
433a5d4965
1 changed files with 8 additions and 0 deletions
|
@ -270,6 +270,14 @@
|
|||
<xsl:apply-templates/>
|
||||
<xsl:text> || true
</xsl:text>
|
||||
</xsl:when>
|
||||
<!-- Add -j1 to make install commands -->
|
||||
<xsl:when test="contains(string(),'make ') and
|
||||
contains(string(),'install')">
|
||||
<xsl:value-of select="substring-before(string(),'make ')"/>
|
||||
<xsl:text>make -j1 </xsl:text>
|
||||
<xsl:value-of select="substring-after(string(),'make ')"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:when>
|
||||
<!-- The rest of commands -->
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates/>
|
||||
|
|
Reference in a new issue