|
|
if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then | if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then |
export ABI=x86 | export ABI=x86 |
append-flags -m32 | append-flags -m32 |
append-ldflags -m32 |
append-ldflags -m32 -L/emul/linux/x86/lib32 -L/emul/linux/x86/usr/lib32 |
fi | fi |
| |
local vidconf= | local vidconf= |
|
|
target=osnes9x;; | target=osnes9x;; |
fallback|X) | fallback|X) |
vidconf="--with-x --without-glide --without-opengl" | vidconf="--with-x --without-glide --without-opengl" |
|
if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then |
|
# without this /usr/lib64 gets added |
|
use amd64 && vidconf="$vidconf --x-libraries=/emul/linux/x86/usr/lib32" |
|
fi |
target=snes9x;; | target=snes9x;; |
esac | esac |
# this stuff is ugly but hey the build process sucks ;) | # this stuff is ugly but hey the build process sucks ;) |