diff options
author | dsainty <dsainty@pkgsrc.org> | 2015-06-08 06:53:27 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2015-06-08 06:53:27 +0000 |
commit | 7ebd3d04a6e6b2b57f527fc5dcda1779670ce4ef (patch) | |
tree | 67609524413b930f3ee2119bf0c5e14d82753c09 /x11/tzosdclock | |
parent | 3cfe78ec21846c71881942e2f0cf438bb12de098 (diff) | |
download | pkgsrc-7ebd3d04a6e6b2b57f527fc5dcda1779670ce4ef.tar.gz |
iCompile before linking for compilers that optimise out library symbols that do
not appear to be in use.
Diffstat (limited to 'x11/tzosdclock')
-rw-r--r-- | x11/tzosdclock/distinfo | 4 | ||||
-rw-r--r-- | x11/tzosdclock/patches/patch-aa | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/x11/tzosdclock/distinfo b/x11/tzosdclock/distinfo index a0349ead53c..bd921ffdea1 100644 --- a/x11/tzosdclock/distinfo +++ b/x11/tzosdclock/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/10/28 02:46:19 minskim Exp $ +$NetBSD: distinfo,v 1.2 2015/06/08 06:53:27 dsainty Exp $ SHA1 (tzosdclock_1.0.2.tar.gz) = 9df6a54ad5a230a51c7680940b7699bd83d6897e RMD160 (tzosdclock_1.0.2.tar.gz) = 19327151cf6606b8bc8747d64189fafe0f630d32 Size (tzosdclock_1.0.2.tar.gz) = 181015 bytes -SHA1 (patch-aa) = 427685ce8bc6c70ab26f12b1f77c617711fa5934 +SHA1 (patch-aa) = 7405f83132711fb3ea19b02e8a6cf6f07f2026f6 diff --git a/x11/tzosdclock/patches/patch-aa b/x11/tzosdclock/patches/patch-aa index eb803502049..ea545406589 100644 --- a/x11/tzosdclock/patches/patch-aa +++ b/x11/tzosdclock/patches/patch-aa @@ -1,4 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/10/28 02:46:19 minskim Exp $ +$NetBSD: patch-aa,v 1.2 2015/06/08 06:53:27 dsainty Exp $ + +Add in LDFLAGS, and compile before linking for compilers that optimise out +library symbols that do not appear to be in use. --- Makefile.in.orig 2005-09-24 01:47:19.000000000 -0700 +++ Makefile.in @@ -7,7 +10,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/10/28 02:46:19 minskim Exp $ $(PROG): tzosdclock.c - $(CC) $(OPTS) $(CFLAGS) $(LIBS) tzosdclock.c -o $(PROG) -+ $(CC) $(OPTS) $(CFLAGS) $(LDFLAGS) $(LIBS) tzosdclock.c -o $(PROG) ++ $(CC) $(OPTS) $(CFLAGS) tzosdclock.c $(LDFLAGS) $(LIBS) -o $(PROG) clean: -/bin/rm -rf $(PROG) |