diff --git a/sys-devel/binutils/binutils-2.45-r1.ebuild b/sys-devel/binutils/binutils-2.45-r1.ebuild index 4f892fd2f3c3d..d4beb896bc17f 100644 --- a/sys-devel/binutils/binutils-2.45-r1.ebuild +++ b/sys-devel/binutils/binutils-2.45-r1.ebuild @@ -553,7 +553,8 @@ binutils_sanity_check() { local opt opt2 # TODO: test multilib variants? for opt in '' '-O2' ; do - for opt2 in '-static' '-static-pie' '-fno-PIE -no-pie' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then :; diff --git a/sys-devel/binutils/binutils-2.45.9999.ebuild b/sys-devel/binutils/binutils-2.45.9999.ebuild index 813f206a020f0..6bef4f37b48fa 100644 --- a/sys-devel/binutils/binutils-2.45.9999.ebuild +++ b/sys-devel/binutils/binutils-2.45.9999.ebuild @@ -557,7 +557,8 @@ binutils_sanity_check() { local opt opt2 # TODO: test multilib variants? for opt in '' '-O2' ; do - for opt2 in '-static' '-static-pie' '-fno-PIE -no-pie' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then :; diff --git a/sys-devel/binutils/binutils-2.45.ebuild b/sys-devel/binutils/binutils-2.45.ebuild index 6218370c57638..ca5584f86d468 100644 --- a/sys-devel/binutils/binutils-2.45.ebuild +++ b/sys-devel/binutils/binutils-2.45.ebuild @@ -555,7 +555,8 @@ binutils_sanity_check() { local opt opt2 # TODO: test multilib variants? for opt in '' '-O2' ; do - for opt2 in '-static' '-static-pie' '-fno-PIE -no-pie' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then :; diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 813f206a020f0..6bef4f37b48fa 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -557,7 +557,8 @@ binutils_sanity_check() { local opt opt2 # TODO: test multilib variants? for opt in '' '-O2' ; do - for opt2 in '-static' '-static-pie' '-fno-PIE -no-pie' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then :;