libretro-mupen64plus: fix build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-24 17:16:06 +02:00
parent cc08cf55b5
commit 136022936e
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- GLideN64/src/ShaderUtils.h 2019-05-31 19:25:22.000000000 +0200
+++ GLideN64/src/ShaderUtils.h 2020-09-24 17:12:36.260736024 +0200
@@ -3,6 +3,7 @@
#include "OpenGL.h"
#include "Combiner.h"
+#include <string>
GLuint createShaderProgram(const char * _strVertex, const char * _strFragment);
bool checkShaderCompileStatus(GLuint obj);

View File

@ -24,6 +24,8 @@ case "$XBPS_TARGET_MACHINE" in
armv*|aarch64*) build_options_default="gles";; armv*|aarch64*) build_options_default="gles";;
esac esac
CFLAGS="-fcommon"
do_build() { do_build() {
local _args local _args