diff options
author | Sam James <sam@gentoo.org> | 2022-03-26 00:07:46 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-26 00:07:57 +0000 |
commit | 7421ae946ca9d19a417d2fcf3e48b4de8f80202b (patch) | |
tree | cb4d2dea04ca1b2817f12195d2bb737b81b26486 | |
parent | dev-embedded/arduino-listserialportsc: add missing || dies (diff) | |
download | gentoo-7421ae946ca9d19a417d2fcf3e48b4de8f80202b.tar.gz gentoo-7421ae946ca9d19a417d2fcf3e48b4de8f80202b.tar.bz2 gentoo-7421ae946ca9d19a417d2fcf3e48b4de8f80202b.zip |
dev-libs/libaio: fix tc-getCPP
Fixes: b7d492ff93212de55b9844dc6aabcef5493c69d5
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-libs/libaio/libaio-0.3.112.ebuild | 2 | ||||
-rw-r--r-- | 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 |