kumquat-buildroot/package/stella/0001-configure-add-CC.patch
Fabrice Fontaine f6229d3901 package/stella: bump to version 6.6
- C++17 is mandatory since version 6.5 and
  fe2b4d630e
- Update hash of Copyright.txt, year updated:
  21438a82cc

https://github.com/stella-emu/stella/blob/6.6/Changes.txt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-17 18:42:12 +01:00

31 lines
949 B
Diff

From 143cf9fa13a07b827de7065a5e919631406b0941 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 12 Dec 2021 22:46:52 +0100
Subject: [PATCH] configure: add CC (#854)
Add CC to fix the following build failure when cross-compiling which is
raised since
https://github.com/stella-emu/stella/commit/771b5b44e31de1b81a552ee47b65014fbc338776:
out/src/sqlite/sqlite3.o: file not recognized: file format not recognized
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved from:
https://github.com/stella-emu/stella/commit/143cf9fa13a07b827de7065a5e919631406b0941]
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index df666b377..0101d2567 100755
--- a/configure
+++ b/configure
@@ -899,6 +899,7 @@ echo "Creating config.mak"
cat > config.mak << EOF
# -------- Generated by configure -----------
+CC := $CC
CXX := $CXX
CXXFLAGS := $CXXFLAGS
LD := $LD