Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2017 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f5d1bafb40b4d6ee5fcd6825f2640e8c to your computer and use it in GitHub Desktop.
Save anonymous/f5d1bafb40b4d6ee5fcd6825f2640e8c to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 621afb8..5abedd0 100755
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ else ifeq ($(RPI),2)
FLAGS= -mfpu=neon -mfloat-abi=hard -fsingle-precision-constant -mno-unaligned-access -fdiagnostics-color=auto -O3 -fsigned-char
FLAGS+= -DRPI
FLAGS+= -DARM
- FLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux
+ FLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -L/opt/vc/lib
LDFLAGS= -mfpu=neon -mfloat-abi=hard
HAVE_GLES=1
else ifeq ($(ODROID),1)
@@ -174,7 +174,7 @@ else ifeq ($(MACOSX),1)
LIB += -framework Cocoa # Used to target Quartz by SDL_.
else
ifeq ($(HAVE_GLES),1)
- LIB += -lGLES_CM -lEGL
+ LIB += -lbcm_host -lGLESv1_CM -lEGL
CFLAGS += -DHAVE_GLES
else
LIB += -lGL -lGLU
diff --git a/libs/src/build.sh b/libs/src/build.sh
index d62c594..6a37a35 100755
--- a/libs/src/build.sh
+++ b/libs/src/build.sh
@@ -14,7 +14,7 @@ set -e # die if any of the following fail
# these are independent
./enet-1.2.5.build
./SDL-1.2.14.build
- ./openal-soft-1.14.build
+# ./openal-soft-1.14.build
} 2>&1 | tee build.log
if [[ ${PIPESTATUS[0]} != 0 ]]; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment