]> git.pld-linux.org Git - packages/crafty.git/blame - crafty-Makefile.patch
- fix NoSource1-md5 line
[packages/crafty.git] / crafty-Makefile.patch
CommitLineData
c2d7e4a2 1--- Makefile.orig 2010-03-06 22:16:20.000000000 +0100
2+++ Makefile 2010-03-06 22:38:29.000000000 +0100
3@@ -108,19 +108,19 @@
4 linux-amd64-profile:
5 $(MAKE) target=LINUX \
6 CC=gcc CXX=g++ \
7- CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -O3 -march=k8' \
8+ CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -O3' \
9 CXFLAGS='' \
10- LDFLAGS='$(LDFLAGS) -lpthread -lnuma -fprofile-arcs -lstdc++' \
11- opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \
12+ LDFLAGS='$(LDFLAGS) -lpthread -pthreads -fprofile-arcs -lstdc++' \
13+ opt='$(opt) -DINLINE64 -DCPUS=8' \
14 crafty-make
15
16 linux-amd64:
17 $(MAKE) target=LINUX \
18 CC=gcc CXX=g++ \
19- CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -O3 -march=k8' \
20+ CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -O3' \
21 CXFLAGS='' \
22- LDFLAGS='$(LDFLAGS) -lpthread -lnuma -lstdc++' \
23- opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \
24+ LDFLAGS='$(LDFLAGS) -lpthread -pthread -lstdc++' \
25+ opt='$(opt) -DINLINE64 -DCPUS=8' \
26 crafty-make
27
28 linux:
29@@ -128,8 +128,8 @@
30 CC=gcc CXX=g++ \
31 CFLAGS='-pg -Wall -pipe' \
32 CXFLAGS='' \
33- LDFLAGS='$(LDFLAGS) -pg -lstdc++ -lpthread' \
34- opt='$(opt) -DTRACE -DINLINE64 -DCPUS=2' \
35+ LDFLAGS='$(LDFLAGS) -pg -lstdc++ -pthread -lpthread' \
36+ opt='$(opt) -DTRACE -DINLINE32 -DCPUS=2' \
37 crafty-make
38
39 linux-profile:
40@@ -322,7 +322,7 @@
e5eb4e43 41 crafty.o: *.c *.h
b7a7e119 42
c2d7e4a2 43 crafty: $(objects) egtb.o
44- $(CC) $(LDFLAGS) -o crafty $(objects) egtb.o -lm $(LIBS)
45+ $(CXX) $(LDFLAGS) -o crafty $(objects) egtb.o -lm $(LIBS)
b7a7e119 46
c2d7e4a2 47 egtb.o: egtb.cpp
48 $(CXX) -c $(CXFLAGS) $(opts) egtb.cpp
49
This page took 0.079522 seconds and 4 git commands to generate.