/[gentoo-x86]/games-arcade/digger/files/digger-20140423-ldflags.patch
Gentoo

Contents of /games-arcade/digger/files/digger-20140423-ldflags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Apr 27 21:05:46 2014 UTC (4 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Add CFLAGS to linking per https://bugs.gentoo.org/show_bug.cgi?id=446281#c5

(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

1 diff -ru digger-digger.orig/Makefile digger-digger/Makefile
2 --- digger-digger.orig/Makefile 2013-10-11 04:56:41.000000000 -0400
3 +++ digger-digger/Makefile 2014-04-24 13:11:58.749211920 -0400
4 @@ -26,7 +26,7 @@
5 ifeq ($(ARCH),"LINUX")
6 OBJS += fbsd_sup.o # strup()
7 RCFLAGS += -DLINUX $(shell sdl-config --cflags)
8 -LIBS += $(shell sdl-config --libs) -lz
9 +LIBS += $(shell sdl-config --libs) -lX11 -lz
10 ESUFFIX =
11 endif
12
13 @@ -40,7 +40,7 @@
14 all: digger$(ESUFFIX)
15
16 digger$(ESUFFIX): $(OBJS)
17 - $(CC) -o digger$(ESUFFIX) $(OBJS) $(LIBS)
18 + $(CC) $(CFLAGS) $(LDFLAGS) -o digger$(ESUFFIX) $(OBJS) $(LIBS)
19
20 $(OBJS): %.o: %.c
21 $(CC) -c $(RCFLAGS) $(CFLAGS) $< -o $@

  ViewVC Help
Powered by ViewVC 1.1.20