Projects
Games
crafty
crafty-23.4-Makefile.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crafty-23.4-Makefile.patch of Package crafty
--- Makefile.orig 2010-11-08 19:07:43.000000000 +0100 +++ Makefile 2010-11-13 00:59:43.685281034 +0100 @@ -111,29 +111,29 @@ linux-amd64-profile: $(MAKE) target=LINUX \ CC=gcc CXX=g++ \ - CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -O3 -march=k8' \ + CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -fno-strict-aliasing -O3' \ CXFLAGS='' \ - LDFLAGS='$(LDFLAGS) -lpthread -lnuma -fprofile-arcs -lstdc++' \ - opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \ + LDFLAGS='$(LDFLAGS) -lpthread -pthreads -fprofile-arcs -lstdc++' \ + opt='$(opt) -DINLINE64 -DCPUS=8' \ crafty-make linux-amd64: $(MAKE) target=LINUX \ CC=gcc CXX=g++ \ - CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -O3 -march=k8' \ + CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -fno-strict-aliasing -O3' \ CXFLAGS='' \ - LDFLAGS='$(LDFLAGS) -lpthread -lnuma -lstdc++' \ - opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \ + LDFLAGS='$(LDFLAGS) -lpthread -pthread -lstdc++' \ + opt='$(opt) -DINLINE64 -DCPUS=8' \ crafty-make linux: $(MAKE) target=LINUX \ CC=gcc CXX=g++ \ CFLAGS='-pg -Wwrite-strings -Wcast-qual -Wshadow \ - -Wconversion -W -Wall -ansi -pedantic -pipe' \ + -Wconversion -W -Wall -pedantic -pipe' \ CXFLAGS='' \ - LDFLAGS='$(LDFLAGS) -pg -lstdc++ -lpthread' \ - opt='$(opt) -DTRACE -DINLINE64 -DCPUS=2' \ + LDFLAGS='$(LDFLAGS) -pg -lstdc++ -pthread -lpthread' \ + opt='$(opt) -DTRACE -DINLINE32 -DCPUS=2' \ crafty-make linux-profile: @@ -335,7 +335,7 @@ crafty.o: *.c *.h crafty: $(objects) egtb.o - $(CC) $(LDFLAGS) -o crafty $(objects) egtb.o -lm $(LIBS) + $(CXX) -o crafty $(objects) egtb.o -lm $(LDFLAGS) $(LIBS) egtb.o: egtb.cpp $(CXX) -c $(CXFLAGS) $(opts) egtb.cpp
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.