summaryrefslogtreecommitdiff
path: root/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/astime/files/astime-2.8-respect-ldflags.patch')
-rw-r--r--x11-plugins/astime/files/astime-2.8-respect-ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch b/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch
new file mode 100644
index 000000000000..09325594f242
--- /dev/null
+++ b/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/autoconf/Makefile.common.in 1999-05-02 17:12:39.000000000 +0200
++++ b/autoconf/Makefile.common.in 2013-03-24 16:16:27.494987496 +0100
+@@ -34,7 +33,7 @@
+ done
+
+ $(PROG): $(OBJS)
+- $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
++ $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@) $(LDFLAGS)
+
+ .c.o:
+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c