Skip to content

Commit 60a63cb

Browse files
committed
lr-stella - lock to commit fd35ce62 for GCC 10 and lower
Newer commits require GCC 11
1 parent 0ddae35 commit 60a63cb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scriptmodules/libretrocores/lr-stella.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ rp_module_id="lr-stella"
1313
rp_module_desc="Atari 2600 emulator - Stella core for libretro"
1414
rp_module_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to $romdir/atari2600"
1515
rp_module_licence="GPL2 https://raw.githubusercontent.com/stella-emu/stella/master/License.txt"
16-
rp_module_repo="git https://github.com/stella-emu/stella.git master"
16+
rp_module_repo="git https://github.com/stella-emu/stella.git master :_get_commit_lr-stella"
1717
rp_module_section="exp"
1818

19+
function _get_commit_lr-stella() {
20+
# GCC 11 is required after fd35ce62
21+
if [[ "$__gcc_version" -lt 11 ]]; then
22+
echo "fd35ce62"
23+
fi
24+
}
25+
1926
function sources_lr-stella() {
2027
gitPullOrClone
2128
}

0 commit comments

Comments
 (0)