packages: libresample/libresample-shared.patch - allow words in $CC (ccache...
glen
glen at pld-linux.org
Thu Dec 31 20:03:15 CET 2009
Author: glen Date: Thu Dec 31 19:03:15 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- allow words in $CC (ccache cc)
---- Files affected:
packages/libresample:
libresample-shared.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/libresample/libresample-shared.patch
diff -u packages/libresample/libresample-shared.patch:1.1 packages/libresample/libresample-shared.patch:1.2
--- packages/libresample/libresample-shared.patch:1.1 Thu Dec 28 18:11:55 2006
+++ packages/libresample/libresample-shared.patch Thu Dec 31 20:03:10 2009
@@ -38,10 +38,10 @@
-tests/testresample: libresample.a $(srcdir)/tests/testresample.c $(DIRS)
- $(CC) -o tests/testresample \
+libresample.la: $(OBJS) Makefile
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -rpath $(libdir)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -rpath $(libdir)
+
+tests/testresample: libresample.la $(srcdir)/tests/testresample.c $(DIRS)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o tests/testresample \
++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(LDFLAGS) -o tests/testresample \
$(CFLAGS) $(srcdir)/tests/testresample.c \
- libresample.a $(LIBS)
+ libresample.la $(LIBS)
@@ -49,7 +49,7 @@
-tests/compareresample: libresample.a $(srcdir)/tests/compareresample.c $(DIRS)
- $(CC) -o tests/compareresample \
+tests/compareresample: libresample.la $(srcdir)/tests/compareresample.c $(DIRS)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o tests/compareresample \
++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(LDFLAGS) -o tests/compareresample \
$(CFLAGS) $(srcdir)/tests/compareresample.c \
- libresample.a -lsamplerate $(LIBS)
+ libresample.la -lsamplerate $(LIBS)
@@ -57,7 +57,7 @@
-tests/resample-sndfile: libresample.a $(srcdir)/tests/resample-sndfile.c $(DIRS)
- $(CC) -o tests/resample-sndfile \
+tests/resample-sndfile: libresample.la $(srcdir)/tests/resample-sndfile.c $(DIRS)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o tests/resample-sndfile \
++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(LDFLAGS) -o tests/resample-sndfile \
$(CFLAGS) $(srcdir)/tests/resample-sndfile.c \
- libresample.a -lsndfile $(LIBS)
+ libresample.la -lsndfile $(LIBS)
@@ -83,4 +83,4 @@
+$(OBJS): %.lo: $(srcdir)/%.c Makefile $(srcdir)/include/libresample.h \
$(srcdir)/src/resample_defs.h $(srcdir)/src/filterkit.h $(srcdir)/src/config.h
- $(CC) -c $(CFLAGS) $< -o $@
-+ $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@
++ $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libresample/libresample-shared.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list