Merge pull request #6366 from heitbaum/libretro-dosbox

libretro-dosbox: build with -std=gnu++11 to fix gcc11 build
This commit is contained in:
Matthias Reichl 2022-04-12 12:12:22 +02:00 committed by GitHub
commit a80fcd5eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,10 @@ PKG_LIBNAME="dosbox_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="DOSBOX_LIB"
pre_make_target() {
export CXXFLAGS="${CXXFLAGS} -std=gnu++11"
}
make_target() {
make -f Makefile.libretro
}