dev-lang/cc65: add warning about parallel make

Added warning about parallel make jobs potentially
causing “random” build failure.

Build revision not bumped due to trivial change.
(I think this is what I’m supposed to do here.)

Bug: https://bugs.gentoo.org/912925
Closes: https://github.com/cc65/cc65/issues/2543
Signed-off-by: Seth M. Price <sprice623@aol.com>
This commit is contained in:
Seth M. Price
2024-11-21 17:24:15 -05:00
parent 2020b1da97
commit d6d8b28d7a
2 changed files with 10 additions and 0 deletions

View File

@@ -14,6 +14,11 @@ SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ewarn "According to an upstream maintainer, cc65 has a tendency to"
ewarn "\"fail randomly\" when using \`make -j' to build in parallel."
ewarn "If compiling this package fails, and you have parallel jobs"
ewarn "enabled, try again with \`MAKEOPTS+=-j1' to disable them."
emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr"
}

View File

@@ -13,6 +13,11 @@ LICENSE="ZLIB"
SLOT="0"
src_compile() {
ewarn "According to an upstream maintainer, cc65 has a tendency to"
ewarn "\"fail randomly\" when using \`make -j' to build in parallel."
ewarn "If compiling this package fails, and you have parallel jobs"
ewarn "enabled, try again with \`MAKEOPTS+=-j1' to disable them."
emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr"
}