components/gnupth/patches/000-Makefile.in.patch
changeset 250 3ec860f369f5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnupth/patches/000-Makefile.in.patch	Thu May 19 15:58:34 2011 -0700
@@ -0,0 +1,38 @@
+--- Makefile.in	Thu Jun  8 10:54:01 2006
++++ Makefile.in	Fri Sep  4 06:55:08 2009
+@@ -194,25 +194,25 @@
+ 
+ #   build test program
+ test_std: test_std.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_std test_std.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_std test_std.o test_common.o libpth.la $(LIBS)
+ test_httpd: test_httpd.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_httpd test_httpd.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_httpd test_httpd.o test_common.o libpth.la $(LIBS)
+ test_misc: test_misc.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_misc test_misc.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_misc test_misc.o test_common.o libpth.la $(LIBS)
+ test_mp: test_mp.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_mp test_mp.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_mp test_mp.o test_common.o libpth.la $(LIBS)
+ test_philo: test_philo.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_philo test_philo.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_philo test_philo.o test_common.o libpth.la $(LIBS)
+ test_sig: test_sig.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_sig test_sig.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_sig test_sig.o test_common.o libpth.la $(LIBS)
+ test_select: test_select.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_select test_select.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_select test_select.o test_common.o libpth.la $(LIBS)
+ test_sfio: test_sfio.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_sfio test_sfio.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_sfio test_sfio.o test_common.o libpth.la $(LIBS)
+ test_uctx: test_uctx.o test_common.o libpth.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_uctx test_uctx.o test_common.o libpth.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_uctx test_uctx.o test_common.o libpth.la $(LIBS)
+ test_pthread: test_pthread.o test_common.o libpthread.la
+-	$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_pthread test_pthread.o test_common.o libpthread.la $(LIBS)
++	$(LIBTOOL) --mode=link --quiet $(CC) $(CFLAGS) $(LDFLAGS) -o test_pthread test_pthread.o test_common.o libpthread.la $(LIBS)
+ 
+ #   install the package
+ install: all-for-install