Package: holotz-castle / 1.3.14-6

01_jlib_makefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (C) 2006, by Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: holotz-castle-1.3.11-src/JLib/Makefile
===================================================================
--- holotz-castle-1.3.11-src.orig/JLib/Makefile	2008-08-23 20:36:06.000000000 +0200
+++ holotz-castle-1.3.11-src/JLib/Makefile	2008-08-27 19:30:48.000000000 +0200
@@ -19,7 +19,8 @@
 endif
 
 # Define -D_JLIB_DEBUG to debug JLib. Compile the app to debug also with this flag
-CFLAGS=-I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags`
+MORE_CFLAGS= -O3
+CFLAGS=-I. -I/usr/local/include/SDL $(MORE_CFLAGS) -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags`
 
 # Sample LDFLAGS for applications
 # LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs`