forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ical-3.0-makefile.patch
33 lines (25 loc) · 965 Bytes
/
ical-3.0-makefile.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Add LDFLAGS to linker calls
Fix deps on check targets for parallel tests
Patch by Kevin McCarthy <[email protected]>
--- Makefile.in
+++ Makefile.in
@@ -74,13 +74,13 @@
all: $(CONFIGURED) ical
ical: $(LIB3) $(LIB2) $(LIB1) $(OBJS) main.o
- $(CXXLINKER) -o $@ $(OBJS) main.o $(LIBS)
+ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) main.o $(LIBS)
ical-bundle: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(BLIBS)
+ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) mbundle.o $(BLIBS)
ical-tiny: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(TINY_BLIBS)
+ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) mbundle.o $(TINY_BLIBS)
$(LIB1): FRC
@echo making in calendar
@@ -195,7 +195,7 @@
check_text:
@ICAL_LIBRARY=$(srcdir) ./ical -nodisplay -f $(srcdir)/tests/no_x.tcl
-check_x:
+check_x: check_text
@ICAL_LIBRARY=$(srcdir) ./ical -f $(srcdir)/tests/x.tcl
# Rules for shipping html documentation