mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user