Skip to content

Commit ad3ca8c

Browse files
authored
Merge pull request #3846 from cmitu/lr-dosbox
lr-dosbox: fix building with GCC 11+
2 parents 75cfcb1 + 12c79be commit ad3ca8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scriptmodules/libretrocores/lr-dosbox.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function build_lr-dosbox() {
3131
fi
3232
fi
3333
make clean
34+
[[ "$__gcc_version" -gt 10 ]] && CXXFLAGS="$CXXFLAGS -std=gnu++11"
3435
make "${params[@]}"
3536
md_ret_require="$md_build/dosbox_libretro.so"
3637
}

0 commit comments

Comments
 (0)