From 72932aa09e022ef38a9b58721d89a02a66c29aa4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 10 Mar 2019 17:40:43 +0100 Subject: [PATCH] Add cross-compilation support Signed-off-by: Sergio Prado Signed-off-by: Fabrice Fontaine [Retrieved (and slightly updated) from: https://git.buildroot.net/buildroot/tree/package/stella/0001-Add-cross-compilation-support.patch] --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 26198160c..b6a051766 100755 --- a/configure +++ b/configure @@ -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