diff --git a/dev-libs/libaio/libaio-0.3.112.ebuild b/dev-libs/libaio/libaio-0.3.112.ebuild index 8c82444565a2e..dd90b717f5d97 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 87ca662c92c69..cd86a0c918f68 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