summarylogtreecommitdiffstats
path: root/0001-tomatoes-1.55-makefile-Append-to-compile-flags.patch
blob: 4b9f49c0da3f3b933976acb9d4db51325565a4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Subject: makefile: Append to compile flags.
From: Loui Chang <louipc.ist@gmail.com>

Reported-by: Andreas Hauser <andy-aur@splashground.de>
--- a/makefile	2004-11-20 13:50:09.000000000 -0500
+++ b/makefile	2008-06-12 11:59:57.000000000 -0400
@@ -47,8 +47,8 @@
 CFLAGS = -MMD -g3 -O3 -march=$(MARCH) -Wall -pg
 LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -pg
 else
-CFLAGS = -MMD -O3 -march=$(MARCH) -Wall $(SDL_FLAGS)
-LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -s
+CFLAGS += -MMD $(SDL_FLAGS)
+LDFLAGS += $(sdl-config --libs) -lSDL_image -lSDL_mixer -lGL -lGLU -s
 endif
 endif