public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dialup/wvdial/files: wvdial-1.61-parallel-make.patch
@ 2010-05-28  5:58 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2010-05-28  5:58 UTC (permalink / raw
  To: gentoo-commits

pva         10/05/28 05:58:16

  Added:                wvdial-1.61-parallel-make.patch
  Log:
  Fixed build issue, bug #321729, thank Willard Dawson for report and Samuli Suominen, Lars Wendler (Polynomial-C) for this fix.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-dialup/wvdial/files/wvdial-1.61-parallel-make.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/wvdial/files/wvdial-1.61-parallel-make.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/wvdial/files/wvdial-1.61-parallel-make.patch?rev=1.1&content-type=text/plain

Index: wvdial-1.61-parallel-make.patch
===================================================================
--- wvdial-1.61/wvrules-posix.mk
+++ wvdial-1.61/wvrules-posix.mk
@@ -85,12 +85,15 @@
 	$(AR) s $1
 endef
 
-CC: FORCE
+CC:
 	@CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
 	  $(WVSTREAMS_SRC)/gen-cc CC c
 
-CXX: FORCE
+CXX:
 	@CC="$(CXX)" CFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
 	  $(WVSTREAMS_SRC)/gen-cc CXX cc
 
+#All files must depend on the above two rules. This is a godawful hack.
+$(shell find -type f '(' -name '*.c' -o -name '*.cc' ')' ): CC CXX
+
 wvlink=$(LINK_MSG)$(WVLINK_CC) $(LDFLAGS) $($1-LDFLAGS) -o $1 $(filter %.o %.a %.so, $2) $($1-LIBS) $(XX_LIBS) $(LDLIBS) $(PRELIBS) $(LIBS)






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-28  5:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  5:58 [gentoo-commits] gentoo-x86 commit in net-dialup/wvdial/files: wvdial-1.61-parallel-make.patch Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox