Skip to content

Commit

Permalink
dev-lang/cc65: replace make -j warning with flag
Browse files Browse the repository at this point in the history
Per advice on Gentoo bug linked below.

Bug: https://bugs.gentoo.org/912925
Bug: cc65/cc65#2543
Signed-off-by: Seth M. Price <[email protected]>
  • Loading branch information
ssterling committed Nov 29, 2024
1 parent dbdaebe commit 98bab88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions dev-lang/cc65/cc65-2.19-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ 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"
emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr" -j1
}

src_install() {
Expand Down
7 changes: 1 addition & 6 deletions dev-lang/cc65/cc65-9999-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ 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"
emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr" -j1
}

src_install() {
Expand Down

0 comments on commit 98bab88

Please sign in to comment.