Skip to content

Commit c715603

Browse files
committed
Add --tag=CC to libtool invocations. PR 62640.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1865343 13f79535-47bb-0310-9956-ffa450edef68
1 parent b4ee162 commit c715603

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
-*- coding: utf-8 -*-
22
Changes for APR 2.0.0
33

4+
*) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
5+
46
*) apr_thread_exit() is now a void function. [Joe Orton]
57

68
*) apr_dir_read(): The returned finfo->name field is now duplicated

Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ INSTALL_DATA = @INSTALL_DATA@
3434

3535
EXTRA_OBJECTS = @EXTRA_OBJECTS@
3636
APR_DSO_MODULES = @APR_DSO_MODULES@
37-
LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APR_MAJOR_VERSION) -module -rpath $(APR_DSO_LIBDIR)
37+
LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APR_MAJOR_VERSION) -module -rpath $(APR_DSO_LIBDIR)
3838
APR_DSO_LIBDIR = @APR_DSO_LIBDIR@
3939
APRUTIL_EXPORT_LIBS = @APRUTIL_EXPORT_LIBS@
4040

@@ -175,7 +175,7 @@ include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
175175
$(APR_MKDIR) include/private
176176
tools/gen_test_char@EXEEXT@ > $@
177177

178-
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \
178+
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(COMPILE) $(LT_LDFLAGS) \
179179
@LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
180180

181181
# DO NOT REMOVE

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ AC_ARG_WITH(libtool, [ --without-libtool avoid using libtool to link the
297297
[ use_libtool=$withval ], [ use_libtool="yes" ] )
298298

299299
if test "x$use_libtool" = "xyes"; then
300-
lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
300+
lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile --tag=CC $(COMPILE) -o $@ -c $< && touch $@'
301301
LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
302-
link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
302+
link="\$(LIBTOOL) \$(LTFLAGS) --mode=link --tag=CC \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
303303
so_ext='lo'
304304
lib_target='-rpath $(libdir) $(OBJECTS)'
305305
export_lib_target='-rpath \$(libdir) \$(OBJECTS)'

test/Makefile.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ INCLUDES=-I$(INCDIR) -I$(srcdir)/../include
7676

7777
# link programs using -no-install to get real executables not
7878
# libtool wrapper scripts which link an executable when first run.
79-
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \
79+
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(COMPILE) $(LT_LDFLAGS) \
8080
@LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
8181

8282
# STDTEST_PORTABLE;
@@ -124,18 +124,18 @@ globalmutexchild@EXEEXT@: $(OBJECTS_globalmutexchild)
124124

125125
# Note -prefer-pic is only supported with libtool-1.4+
126126
mod_test.lo: $(srcdir)/mod_test.c
127-
$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -prefer-pic -o $@ \
127+
$(LIBTOOL) $(LTFLAGS) --mode=compile --tag=CC $(COMPILE) -prefer-pic -o $@ \
128128
-c $(srcdir)/mod_test.c
129129

130130
OBJECTS_mod_test = mod_test.lo
131131
mod_test.la: $(OBJECTS_mod_test) $(LOCAL_LIBS)
132-
$(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -rpath `pwd` -module \
132+
$(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(COMPILE) -rpath `pwd` -module \
133133
-avoid-version $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@ \
134134
$(OBJECTS_mod_test) $(LOCAL_LIBS)
135135

136136
OBJECTS_libmod_test = mod_test.lo $(LOCAL_LIBS)
137137
libmod_test.la: $(OBJECTS_libmod_test)
138-
$(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -rpath `pwd` \
138+
$(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(COMPILE) -rpath `pwd` \
139139
-avoid-version $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@ \
140140
$(OBJECTS_libmod_test) $(ALL_LIBS)
141141

0 commit comments

Comments
 (0)