mirror of https://github.com/stella-emu/stella.git
Add cross-compilation support
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Retrieved (and slightly updated) from: https://git.buildroot.net/buildroot/tree/package/stella/0001-Add-cross-compilation-support.patch]
This commit is contained in:
parent
93a07b4517
commit
72932aa09e
|
@ -523,6 +523,11 @@ if test -n "$_host"; then
|
|||
DEFINES="$DEFINES -DWIN32"
|
||||
_host_os=win32
|
||||
;;
|
||||
*linux*)
|
||||
echo "Cross-compiling to $_host target"
|
||||
DEFINES="$DEFINES -DUNIX"
|
||||
_host_os=unix
|
||||
;;
|
||||
*)
|
||||
echo "Cross-compiling to unknown target, please add your target to configure."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue