dev-vcs/git-2.29.2: don't build osxkeychain module with gcc

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2020-11-29 11:11:24 +01:00
parent f1f6458e47
commit c0220bd1c3
2 changed files with 4 additions and 4 deletions

View File

@@ -341,7 +341,7 @@ src_compile() {
|| die "emake gitweb (cgi) failed"
fi
if [[ ${CHOST} == *-darwin* ]]; then
if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
pushd contrib/credential/osxkeychain &>/dev/null || die
git_emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" \
|| die "emake credential-osxkeychain"
@@ -391,7 +391,7 @@ src_compile() {
src_install() {
git_emake install || die "make install failed"
if [[ ${CHOST} == *-darwin* ]]; then
if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
fi

View File

@@ -341,7 +341,7 @@ src_compile() {
|| die "emake gitweb (cgi) failed"
fi
if [[ ${CHOST} == *-darwin* ]]; then
if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
pushd contrib/credential/osxkeychain &>/dev/null || die
git_emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" \
|| die "emake credential-osxkeychain"
@@ -391,7 +391,7 @@ src_compile() {
src_install() {
git_emake install || die "make install failed"
if [[ ${CHOST} == *-darwin* ]]; then
if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
fi