RPi fixes

This commit is contained in:
jgranick
2015-06-05 13:08:27 -07:00
parent 8e1a2b1f70
commit c647ca2006
4 changed files with 6 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ class LinuxPlatform extends PlatformTarget {
if (targetFlags.exists ("rpi")) {
commands.push ([ "-Dlinux", "-Drpi" ]);
commands.push ([ "-Dlinux", "-Drpi", "-DCXX=arm-linux-gnueabihf-g++", "-DHXCPP_M32", "-DHXCPP_STRIP=arm-linux-gnueabihf-strip", "-DHXCPP_AR=arm-linux-gnueabihf-ar", "-DHXCPP_RANLIB=arm-linux-gnueabihf-ranlib" ]);
} else {
@@ -373,4 +373,4 @@ class LinuxPlatform extends PlatformTarget {
@ignore public override function uninstall ():Void {}
}
}

View File

@@ -2,7 +2,7 @@
#define LIME_GRAPHICS_OPENGL_OPENGL_H
#if defined (BLACKBERRY) || defined (ANDROID) || defined (WEBOS) || defined (GPH) || defined (RASPBERRYPI) || defined (EMSCRIPTEN)
#if defined (BLACKBERRY) || defined (ANDROID) || defined (WEBOS) || defined (GPH) || defined (EMSCRIPTEN)
#define LIME_GLES
#include <GLES2/gl2.h>
@@ -148,4 +148,4 @@ typedef void *GLCtx;
#endif
#endif
#endif