583432b94b
Removed 0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch, since stella now uses -std=c++14 that builds fine when using PPC altivec vectorization. Removed 0004-gcc7.patch, backported from upstream. Update toolchain dependencies to gcc 4.9 since codebase now uses C++14 features. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> [Arnout: also remove 0004-gcc7.patch] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 lines
741 B
Diff
30 lines
741 B
Diff
From ef1cffc526d3cf9562d50efbf8addc2aa4c06b52 Mon Sep 17 00:00:00 2001
|
|
From: Sergio Prado <sergio.prado@e-labworks.com>
|
|
Date: Sun, 30 Jul 2017 18:23:23 -0300
|
|
Subject: [PATCH 1/2] Add cross-compilation support
|
|
|
|
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
|
|
---
|
|
configure | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index c2f304729651..b05321aac3da 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -499,8 +499,9 @@ if test -n "$_host"; then
|
|
_host_os=win32
|
|
;;
|
|
*)
|
|
- echo "Cross-compiling to unknown target, please add your target to configure."
|
|
- exit 1
|
|
+ echo "Cross-compiling to $_host target"
|
|
+ DEFINES="$DEFINES -DUNIX"
|
|
+ _host_os=unix
|
|
;;
|
|
esac
|
|
|
|
--
|
|
1.9.1
|
|
|