Package: opentyrian / 2.1.20130907+dfsg-3

cppflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Honor CPPFLAGS
Author: Etienne Millon <me@emillon.org>
Last-Update: 2015-01-05
Forwarded: https://bitbucket.org/opentyrian/opentyrian/pull-request/3

--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@
     SDL_LDLIBS += -lSDL_net
 endif
 
-ALL_CFLAGS += -std=c99 -I./src -DTARGET_$(PLATFORM) $(EXTRA_CFLAGS) $(SDL_CFLAGS) $(CFLAGS)
+ALL_CFLAGS += -std=c99 -I./src -DTARGET_$(PLATFORM) $(EXTRA_CFLAGS) $(SDL_CFLAGS) $(CFLAGS) $(CPPFLAGS)
 ALL_LDFLAGS += $(LDFLAGS)
 LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS)