diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-02-02 09:43:10 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-02-02 09:43:10 +0000 |
commit | cc9a47ce3e4fce056797dcd37bcca0313b8047a8 (patch) | |
tree | f46f102155ab7dc8dff555a9512a72cafc161ffd /games-arcade/holotz-castle/files | |
parent | Version bump. Fix: #256617 #210830 #240458 (diff) | |
download | gentoo-2-cc9a47ce3e4fce056797dcd37bcca0313b8047a8.tar.gz gentoo-2-cc9a47ce3e4fce056797dcd37bcca0313b8047a8.tar.bz2 gentoo-2-cc9a47ce3e4fce056797dcd37bcca0313b8047a8.zip |
Fix --as-needed bug #247301
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-arcade/holotz-castle/files')
-rw-r--r-- | games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch index e556d76193e9..6e6136304b27 100644 --- a/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.10-build.patch @@ -47,7 +47,22 @@ -CFLAGS=-I. -I../JLib -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c `$(SDL_CONFIG) --cflags` -LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` +CFLAGS=-I. -I../JLib $(CPU_OPTS) -c `$(SDL_CONFIG) --cflags` -+LDFLAGS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` ++LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` JLib: +@@ -53,12 +53,12 @@ + g++ $(CFLAGS) $(DEFINES) $< -o $@ + + HC: $(HC_OBJS) $(HC_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ g++ $(LDFLAGS) $? $(LDLIBS) -o $@;\ + mv HC ../holotz-castle + + # HCed (Holotz's Castle editor). + HCed: $(HC_OBJS) $(HCED_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ g++ $(LDFLAGS) $? $(LDLIBS) -o $@;\ + mv HCed ../holotz-castle-editor + + install: |