mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-util/ltrace:use $CC in tests instead of gcc
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Use $CC instead of gcc in testsuite.
|
||||
--- a/testsuite/Makefile.am
|
||||
+++ b/testsuite/Makefile.am
|
||||
@@ -39,6 +39,8 @@ env.exp: Makefile
|
||||
rm -f env.exp
|
||||
echo set libelf_LD_LIBRARY_PATH '"$(libelf_LD_LIBRARY_PATH)"' >> $@
|
||||
echo set libunwind_LD_LIBRARY_PATH '"$(libunwind_LD_LIBRARY_PATH)"' >> $@
|
||||
+ echo set CC_FOR_TARGET '"$(CC)"' >> $@
|
||||
+ echo set CXX_FOR_TARGET '"$(CXX)"' >> $@
|
||||
|
||||
CLEANFILES = *.o *.so *.log *.sum *.ltrace site.bak setval.tmp site.exp env.exp
|
||||
|
||||
@@ -45,6 +45,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.7.3-no-error.h-2.patch #713428
|
||||
"${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428
|
||||
"${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
|
||||
"${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user