Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/urbanterror/files: urbanterror-4.2.004-build.patch
Date: Thu, 01 Nov 2012 21:43:56
Message-Id: 20121101214340.1C16021601@flycatcher.gentoo.org
1 hasufell 12/11/01 21:43:40
2
3 Added: urbanterror-4.2.004-build.patch
4 Log:
5 version bump
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
8
9 Revision Changes Path
10 1.1 games-fps/urbanterror/files/urbanterror-4.2.004-build.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/urbanterror/files/urbanterror-4.2.004-build.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/urbanterror/files/urbanterror-4.2.004-build.patch?rev=1.1&content-type=text/plain
14
15 Index: urbanterror-4.2.004-build.patch
16 ===================================================================
17 --- Makefile
18 +++ Makefile
19 @@ -213,7 +213,7 @@
20 endif
21 endif
22
23 - BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe
24 + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
25
26 ifeq ($(USE_OPENAL),1)
27 BASE_CFLAGS += -DUSE_OPENAL=1
28 @@ -239,19 +239,15 @@
29 BASE_CFLAGS += -I/usr/X11R6/include
30 endif
31
32 - OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
33 + OPTIMIZE = -ffast-math -funroll-loops
34
35 ifeq ($(ARCH),x86_64)
36 - OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops \
37 - -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
38 - -fstrength-reduce
39 + OPTIMIZE = -ffast-math -funroll-loops
40 # experimental x86_64 jit compiler! you need GNU as
41 HAVE_VM_COMPILED = true
42 else
43 ifeq ($(ARCH),i386)
44 - OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
45 - -funroll-loops -falign-loops=2 -falign-jumps=2 \
46 - -falign-functions=2 -fstrength-reduce
47 + OPTIMIZE = -ffast-math -funroll-loops
48 HAVE_VM_COMPILED=true
49 else
50 ifeq ($(ARCH),ppc)
51 @@ -265,7 +261,7 @@
52 BASE_CFLAGS += -DNO_VM_COMPILED
53 endif
54
55 - DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0
56 + DEBUG_CFLAGS = $(BASE_CFLAGS) $(OPTIMIZE)
57
58 RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
59
60 @@ -274,7 +270,7 @@
61 SHLIBLDFLAGS=-shared $(LDFLAGS)
62
63 THREAD_LDFLAGS=-lpthread
64 - LDFLAGS=-ldl -lm
65 + LDFLAGS+=-ldl -lm
66
67 ifeq ($(USE_SDL),1)
68 CLIENT_LDFLAGS=$(shell sdl-config --libs)