mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user