From 7421ae946ca9d19a417d2fcf3e48b4de8f80202b Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 26 Mar 2022 00:07:46 +0000 Subject: dev-libs/libaio: fix tc-getCPP Fixes: b7d492ff93212de55b9844dc6aabcef5493c69d5 Signed-off-by: Sam James --- dev-libs/libaio/libaio-0.3.112.ebuild | 2 +- dev-libs/libaio/libaio-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libaio/libaio-0.3.112.ebuild b/dev-libs/libaio/libaio-0.3.112.ebuild index 8c82444565a2..dd90b717f5d9 100644 --- a/dev-libs/libaio/libaio-0.3.112.ebuild +++ b/dev-libs/libaio/libaio-0.3.112.ebuild @@ -46,7 +46,7 @@ multilib_src_configure() { if use arm ; then # When building for thumb, we can't allow frame pointers. # http://crbug.com/464517 - if "$(tc-getCPP)" ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then + if $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then append-flags -fomit-frame-pointer fi fi diff --git a/dev-libs/libaio/libaio-9999.ebuild b/dev-libs/libaio/libaio-9999.ebuild index 87ca662c92c6..cd86a0c918f6 100644 --- a/dev-libs/libaio/libaio-9999.ebuild +++ b/dev-libs/libaio/libaio-9999.ebuild @@ -46,7 +46,7 @@ multilib_src_configure() { if use arm ; then # When building for thumb, we can't allow frame pointers. # http://crbug.com/464517 - if "$(tc-getCPP)" ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then + if $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then append-flags -fomit-frame-pointer fi fi -- cgit v1.2.3-65-gdbad