updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / tomatoes / 0001-tomatoes-1.55-makefile-Append-to-compile-flags.patch
blob4b9f49c0da3f3b933976acb9d4db51325565a4e9
1 Subject: makefile: Append to compile flags.
2 From: Loui Chang <louipc.ist@gmail.com>
4 Reported-by: Andreas Hauser <andy-aur@splashground.de>
5 --- a/makefile 2004-11-20 13:50:09.000000000 -0500
6 +++ b/makefile 2008-06-12 11:59:57.000000000 -0400
7 @@ -47,8 +47,8 @@
8 CFLAGS = -MMD -g3 -O3 -march=$(MARCH) -Wall -pg
9 LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -pg
10 else
11 -CFLAGS = -MMD -O3 -march=$(MARCH) -Wall $(SDL_FLAGS)
12 -LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -s
13 +CFLAGS += -MMD $(SDL_FLAGS)
14 +LDFLAGS += $(sdl-config --libs) -lSDL_image -lSDL_mixer -lGL -lGLU -s
15 endif
16 endif