It's using gcc directly, won't work for crosscompiles... Trivial patch attached.
Created attachment 102631 [details, diff] gpac-0.4.2-r1.ebuild.diff - use tc-getCC from toolchain.funcs
Applied, thanks