Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 524500 Details for
Bug 650982
games-action/blackvoxel: a resource mining game focused on program learning
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/blackvoxel-makefile.patch
blackvoxel-makefile.patch (text/plain), 2.52 KB, created by
Samuel Bauer
on 2018-03-20 12:53:59 UTC
(
hide
)
Description:
files/blackvoxel-makefile.patch
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2018-03-20 12:53:59 UTC
Size:
2.52 KB
patch
obsolete
>--- Makefile >+++ Makefile >@@ -11,7 +11,7 @@ > CC=g++ > LD=g++ > PROGNAME=blackvoxel >-CFLAGS=-I "src/sc_Squirrel3/include" -DCOMPILEOPTION_DEMO=0 -DDEVELOPPEMENT_ON=0 -DCOMPILEOPTION_SPECIAL=0 -DCOMPILEOPTION_DATAFILESPATH="\"$(blackvoxeldatadir)\"" >+CFLAGS+=-I "src/sc_Squirrel3/include" -DCOMPILEOPTION_DEMO=0 -DDEVELOPPEMENT_ON=0 -DCOMPILEOPTION_SPECIAL=0 -DCOMPILEOPTION_DATAFILESPATH="\"$(blackvoxeldatadir)\"" > SRC= $(wildcard src/*.cpp) $(wildcard src/z/*.cpp) > OBJ= $(SRC:src/%.cpp=obj/%.o) > >@@ -19,8 +19,7 @@ > > ifeq ($(OS),Windows_NT) > CPU_BITS=32 >- CFLAGS+= -O3 -c -fmessage-length=0 -march=i686 >- LDFLAGS= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib >+ LDFLAGS+= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib > else > # Unix like operating systems > CPU_BITS= $(shell getconf LONG_BIT) >@@ -28,19 +27,15 @@ > KERNELNAME =$(shell uname -s) > > ifeq ($(KERNELNAME),Linux) >- CFLAGS+= -O3 -c -fmessage-length=0 >- LDFLAGS=-s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib >+ LDFLAGS+= -s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib > else ifeq ($(KERNELNAME), FreeBSD) > # To be done... >- CFLAGS+= -O3 -c -fmessage-length=0 >- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib >+ LDFLAGS+= -s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib > else ifeq ($(KERNELNAME), Darwin) >- CFLAGS+= -O3 -c -fmessage-length=0 >- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib >+ LDFLAGS+= -s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib > else > # Unknow kernel... trying default flags >- CFLAGS+= -O3 -c -fmessage-length=0 >- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib >+ LDFLAGS+= -s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib > endif > endif > >@@ -57,7 +52,7 @@ > > > squirrel: >- cd src/sc_Squirrel3 ; make sq$(CPU_BITS) >+ +make -C src/sc_Squirrel3 sq$(CPU_BITS) > > clean: > @rm -rf obj
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 650982
:
524496
|
524498
| 524500 |
524502