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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 16 20:28:54 2011 UTC (3 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump #366991 by Alec Moskvin.

(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)

1 From 8a292168e584c50808b80df3577a7d89fa32db26 Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Mon, 16 May 2011 16:24:20 -0400
4 Subject: [PATCH] drop LDFLAGS set, and restore CFLAGS linking
5
6 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7 ---
8 Makefile | 5 ++---
9 1 files changed, 2 insertions(+), 3 deletions(-)
10
11 diff --git a/Makefile b/Makefile
12 index 1938e05..8309ad6 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -32,7 +32,6 @@ TABSRCS = crontab.c chuser.c
16 TABOBJS = crontab.o chuser.o
17 PROTOS = protos.h
18 LIBS =
19 -LDFLAGS =
20 DEFS = -DVERSION='"$(VERSION)"' \
21 -DSCRONTABS='"$(SCRONTABS)"' -DCRONTABS='"$(CRONTABS)"' \
22 -DCRONSTAMPS='"$(CRONSTAMPS)"' -DLOG_IDENT='"$(LOG_IDENT)"' \
23 @@ -54,10 +53,10 @@ protos.h: $(SRCS) $(TABSRCS)
24 fgrep -h Prototype $(SRCS) $(TABSRCS) > protos.h
25
26 crond: $(OBJS)
27 - $(CC) $(LDFLAGS) $^ $(LIBS) -o crond
28 + $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o crond
29
30 crontab: $(TABOBJS)
31 - $(CC) $(LDFLAGS) $^ -o crontab
32 + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o crontab
33
34 %.o: %.c defs.h $(PROTOS)
35 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(DEFS) $< -o $@
36 --
37 1.7.5.rc3

  ViewVC Help
Powered by ViewVC 1.1.20