/[gentoo-x86]/sys-process/dcron/files/dcron-4.4-ldflags.patch
Gentoo

Contents of /sys-process/dcron/files/dcron-4.4-ldflags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 26 07:07:10 2010 UTC (3 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump #318703 by Sebastian Pipping.

(Portage version: 2.2_rc96/cvs/Linux x86_64)

1 From 9f4d538a4427240a807b82225080a3ff1fac9d16 Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Tue, 26 Oct 2010 01:38:18 -0400
4 Subject: [PATCH] respect LDFLAGS env var while building
5
6 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7 ---
8 Makefile | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/Makefile b/Makefile
12 index 3a89a3b..dc5b78f 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -53,10 +53,10 @@ protos.h: $(SRCS) $(TABSRCS)
16 fgrep -h Prototype $(SRCS) $(TABSRCS) > protos.h
17
18 crond: $(OBJS)
19 - $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o crond
20 + $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o crond
21
22 crontab: $(TABOBJS)
23 - $(CC) $(CFLAGS) $(TABOBJS) -o crontab
24 + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o crontab
25
26 %.o: %.c defs.h $(PROTOS)
27 $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $< -o $@
28 --
29 1.7.3.1

  ViewVC Help
Powered by ViewVC 1.1.20