diff --git a/dev-perl/config_autoconf/config_autoconf-0.320.recipe b/dev-perl/config_autoconf/config_autoconf-0.320.recipe index afb701732..9a95717f3 100644 --- a/dev-perl/config_autoconf/config_autoconf-0.320.recipe +++ b/dev-perl/config_autoconf/config_autoconf-0.320.recipe @@ -38,6 +38,7 @@ TEST_REQUIRES=" " if [ "$targetArchitecture" = x86_gcc2 ]; then TEST_REQUIRES+=" + haiku_x86_devel cmd:gcc_x86 " else @@ -64,5 +65,8 @@ INSTALL() TEST() { - make test + if [ "$targetArchitecture" = x86_gcc2 ]; then + gccSecondaryArch="CC=gcc-x86 LD=gcc-x86" + fi + make $gccSecondaryArch test } diff --git a/dev-perl/extutils_libbuilder/extutils_libbuilder-0.08.recipe b/dev-perl/extutils_libbuilder/extutils_libbuilder-0.08.recipe index 8760f1f2f..e78f6fcbf 100644 --- a/dev-perl/extutils_libbuilder/extutils_libbuilder-0.08.recipe +++ b/dev-perl/extutils_libbuilder/extutils_libbuilder-0.08.recipe @@ -32,6 +32,7 @@ BUILD_PREREQUIRES=" if [ "$targetArchitecture" = x86_gcc2 ]; then TEST_REQUIRES=" + haiku_x86_devel cmd:gcc_x86 " else @@ -57,5 +58,9 @@ INSTALL() } TEST() { + if [ "$targetArchitecture" = x86_gcc2 ]; then + export CC=gcc-x86 + export LD=gcc-x86 + fi ./Build test }