aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-05-19 12:48:38 +0900
committerWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-05-19 12:48:38 +0900
commit7583115ff97af20a831e9d17540faf1b808e11ff (patch)
tree4f784058c8ffe8a8b3f109e6b3ca9feda475b30d /dev-lang
parentgames-fps/gzdoom: Use upstream patch instead of global define (diff)
downloadguru-7583115ff97af20a831e9d17540faf1b808e11ff.tar.gz
guru-7583115ff97af20a831e9d17540faf1b808e11ff.tar.bz2
guru-7583115ff97af20a831e9d17540faf1b808e11ff.zip
dev-lang/fbc: Support cross-compilation
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/fbc/fbc-1.06.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/fbc/fbc-1.06.0.ebuild b/dev-lang/fbc/fbc-1.06.0.ebuild
index 8d4c3898..11efb627 100644
--- a/dev-lang/fbc/fbc-1.06.0.ebuild
+++ b/dev-lang/fbc/fbc-1.06.0.ebuild
@@ -84,10 +84,10 @@ src_compile() {
local fblflags=${LDFLAGS//-Wl,/-Wl }
# Build fbc
- emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}"
+ emake CFLAGS="${CFLAGS} ${xcflags[*]}" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET=${CHOST}
}
src_install() {
- emake DESTDIR="${D}" prefix="/usr" install
+ emake DESTDIR="${D}" prefix="/usr" TARGET=${CHOST} install
einstalldocs
}