sys-libs/glibc: use orig CC and friends for compile test w/ binpkgs

See 414f21a6b3 again. CC will contain
junk that we want to avoid for this test.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-12-22 09:54:18 +00:00
parent af79ad934c
commit 8d34956fa0
3 changed files with 6 additions and 3 deletions

View File

@@ -290,7 +290,8 @@ do_run_test() {
if [[ ${MERGE_TYPE} == "binary" ]] ; then
# ignore build failures when installing a binary package #324685
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
else
ebegin "Performing simple compile test for ABI=${ABI}"
if ! do_compile_test "" "$@" ; then

View File

@@ -295,7 +295,8 @@ do_run_test() {
if [[ ${MERGE_TYPE} == "binary" ]] ; then
# ignore build failures when installing a binary package #324685
do_compile_test "" "$@" 2>/dev/null || return 0
CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
else
ebegin "Performing simple compile test for ABI=${ABI}"
if ! do_compile_test "" "$@" ; then

View File

@@ -297,7 +297,8 @@ do_run_test() {
if [[ ${MERGE_TYPE} == "binary" ]] ; then
# ignore build failures when installing a binary package #324685
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
else
ebegin "Performing simple compile test for ABI=${ABI}"
if ! do_compile_test "" "$@" ; then