kumquat-buildroot/package/stella/0001-configure-add-CC.patch

31 lines
949 B
Diff
Raw Normal View History

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