]> git.pld-linux.org Git - packages/apr-compat.git/commitdiff
- pass --tag=CC to allow building with CC=ccache auto/ac/apr-1_2_2-2_6
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Dec 2005 20:56:07 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apr-libtool.patch -> 1.1

apr-libtool.patch [new file with mode: 0644]

diff --git a/apr-libtool.patch b/apr-libtool.patch
new file mode 100644 (file)
index 0000000..cfcdcfd
--- /dev/null
@@ -0,0 +1,17 @@
+must give hint to libtool which tag to use, in case we use ccache and then
+libtool is unable to autodetect from $CC
+
+--- apr-1.2.2/configure.in~    2005-12-19 22:17:54.000000000 +0200
++++ apr-1.2.2/configure.in     2005-12-19 22:30:13.000000000 +0200
+@@ -196,9 +196,9 @@
+   [ use_libtool=$withval ], [ use_libtool="yes" ] )
+ if test "x$use_libtool" = "xyes"; then
+-      lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
++      lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile --tag=CC $(COMPILE) -o $@ -c $< && touch $@'
+       LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
+-      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) ${LT_VERSION} \$(ALL_LDFLAGS) -o \$@"
++      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link --tag=CC \$(LT_LDFLAGS) \$(COMPILE) ${LT_VERSION} \$(ALL_LDFLAGS) -o \$@"
+       so_ext='lo'
+       lib_target='-rpath $(libdir) $(OBJECTS)'
+       export_lib_target='-rpath \$(libdir) \$(OBJECTS)'
This page took 0.163801 seconds and 4 git commands to generate.