Files
buildroot/package/libretro-super/0004-fix-build-common.patch
tiopex b7a8ba56ec [PACKAGE/BOARD] Add Retroarch v1.16.0.3 (#50)
* Add retroarch package

* libretro cores as separate packages

* Add libretro-super package

* Add core resources, move retroarch bin to /mnt/emus/retroarch dir

* add NxEngine assets + correct indendt

* [BOARD] add cores appLinks

* [GENIMAGE] test -d before running cp to not stderr

* [BOARD] add "cores" section in gmenu2x with all appLinks

* add PRBOOM data *.wad file

* [GENIMAGE] generate cores' script links in genimage.sh

* Add scummvm core & downgrade

* [GENIMAGE] don't run cores in verbose

* resort `core links` and update their icons

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2023-11-16 20:17:18 +01:00

22 lines
619 B
Diff

diff --git a/libretro-build-common.sh b/libretro-build-common.sh
index cbe24739..9451b423 100644
--- a/libretro-build-common.sh
+++ b/libretro-build-common.sh
@@ -20,7 +20,7 @@ die() {
#
# echo_cmd "$MAKE TARGET=\"libretro\" $COMPILER OTHERVAR=\"$SOMETHING\""
#
-if [ "${CC}" ] && [ "${CXX}" ]; then
+if [ "${CC}" ] && [ "${CXX}" ] && [ "${CC}" != "gcc" ] && [ "${CXX}" != "g++" ]; then
COMPILER="CC=\"${CC}\" CXX=\"${CXX}\""
else
COMPILER=""
@@ -445,6 +445,7 @@ summary() {
secho "$(color 31)$num_fail core(s)$(color) failed:"
lecho "$num_fail core(s) failed:"
lsecho "$fmt_fail"
+ exit 1
fi
}