summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-01-13 13:57:58 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-01-13 13:57:58 +0000
commit974c713a78f174f0f9c9100fe9cef9f96baa7879 (patch)
treeba3586e31d231f489bfb15b94ea3062d66e26bed /games-strategy/widelands/files
parentFixes for bug #106826 (added password for local connection to webserwer) and ... (diff)
downloadgentoo-2-974c713a78f174f0f9c9100fe9cef9f96baa7879.tar.gz
gentoo-2-974c713a78f174f0f9c9100fe9cef9f96baa7879.tar.bz2
gentoo-2-974c713a78f174f0f9c9100fe9cef9f96baa7879.zip
Use user-CFLAGS thanks to Christopher Covington <covracer@gmail.com> in bug 118358
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-strategy/widelands/files')
-rw-r--r--games-strategy/widelands/files/widelands-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-strategy/widelands/files/widelands-makefile.patch b/games-strategy/widelands/files/widelands-makefile.patch
new file mode 100644
index 000000000000..da96caf3241e
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-makefile.patch
@@ -0,0 +1,14 @@
+--- widelands-b9half/Makefile.orig 2006-01-13 00:19:12.000000000 +0100
++++ widelands-b9half/Makefile 2006-01-13 00:19:29.000000000 +0100
+@@ -160,9 +160,9 @@
+ # Object files and directories, final compilation flags
+
+ OBJECT_DIR:=src/$(TARGET)-$(BUILD)
+-CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS)
++CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) $(CFLAGS)
+ CXXFLAGS:=$(CFLAGS)
+-LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net
++LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net $(LDFLAGS)
+
+ ##############################################################################
+ # Building