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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
--- librep-0.17.orig/intl/Makefile.in
+++ librep-0.17/intl/Makefile.in
@@ -77,7 +77,7 @@
.c.o:
$(COMPILE) $<
.c.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) $<
+ $(LIBTOOL) --mode=compile --tag=CC $(COMPILE) $<
INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
@@ -92,7 +92,7 @@
$(RANLIB) $@
libintl.la: $(OBJECTS)
- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \
-version-info 1:0 -rpath $(libdir)
../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot
--- librep-0.17.orig/Makedefs.in
+++ librep-0.17/Makedefs.in
@@ -96,11 +96,11 @@
# Rule for libtool controlled C objects
%.lo : %.c
- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
# Rule for dlopen'able C objects
%.la : %.c
- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
$(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo
# Build dependancy files from C source files.
--- librep-0.17.orig/rules.mk.sh
+++ librep-0.17/rules.mk.sh
@@ -19,7 +19,7 @@
# foo.la : foo.lo bar.lo
# \$(rep_DL_LD) link-opts...
-rep_DL_LD=\$(rep_LIBTOOL) --mode=link \$(CC) -avoid-version -module \
+rep_DL_LD=\$(rep_LIBTOOL) --mode=link --tag=CC \$(CC) -avoid-version -module \
-rpath \$(rpath_repcommonexecdir)
rep_DL_INSTALL=\$(rep_LIBTOOL) --mode=install \$(INSTALL)
@@ -27,6 +27,6 @@
# Rule for libtool controlled C objects
%.lo : %.c
- \$(rep_LIBTOOL) --mode=compile \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$<
+ \$(rep_LIBTOOL) --mode=compile --tag=CC \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$<
EOF
--- librep-0.17.orig/src/Makefile.in
+++ librep-0.17/src/Makefile.in
@@ -56,16 +56,16 @@
all : librep.la $(DL_OBJS) check-dl rep rep-config rep-remote rep-xgettext .libexec
librep.la : $(OBJS) $(LIBOBJS) $(ALLOCA)
- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) \
-version-info $(libversion) -export-symbols librep.sym \
-o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS)
rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
$(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
- $(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
$(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
rep-remote : rep-remote.c
@@ -132,7 +132,7 @@
chmod +x $@
repdoc : repdoc.o
- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS)
+ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS)
sdbm.la : $(SDBM_LOBJS) repsdbm.lo
$(rep_DL_LD) $(LDFLAGS) -o $@ $^
|