Created
May 22, 2017 16:53
-
-
Save anonymous/f5d1bafb40b4d6ee5fcd6825f2640e8c to your computer and use it in GitHub Desktop.
Patch for https://github.com/ptitSeb/forsaken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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