Skip to content

Commit

Permalink
dev-libs/libaio: fix tc-getCPP
Browse files Browse the repository at this point in the history
Fixes: b7d492f
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Mar 26, 2022
1 parent dec288a commit 7421ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-libs/libaio/libaio-0.3.112.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev-libs/libaio/libaio-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7421ae9

Please sign in to comment.