stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r565597 - /incubator/stdcxx/trunk/etc/config/makefile.rules
Date Tue, 14 Aug 2007 01:20:59 GMT
Author: sebor
Date: Mon Aug 13 18:20:58 2007
New Revision: 565597

URL: http://svn.apache.org/viewvc?view=rev&rev=565597
Log:
2007-08-14  Martin Sebor  <sebor@roguewave.com>

	STDCXX-521
	* makefile.rules (makedep): Set the "local" shell variable depflags
	to the value of $(DEPENDLFAGS) when the GNU make $(value) function
	yields the empty string (as a result of GNU make 3.79 bug).

Modified:
    incubator/stdcxx/trunk/etc/config/makefile.rules

Modified: incubator/stdcxx/trunk/etc/config/makefile.rules
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/makefile.rules?view=diff&rev=565597&r1=565596&r2=565597
==============================================================================
--- incubator/stdcxx/trunk/etc/config/makefile.rules (original)
+++ incubator/stdcxx/trunk/etc/config/makefile.rules Mon Aug 13 18:20:58 2007
@@ -183,6 +183,7 @@
                    s:$(TOPDIR):$$""(TOPDIR):gp;                              \
                    s:$(BUILDDIR):$$""(BUILDDIR):gp" ;                        \
 	   depflags="$(value DEPENDFLAGS$(depsuffix))";                      \
+           [ "$$depflags" = "" ] && depflags=$(DEPENDFLAGS);                 \
            echo "$(CXX) $$depflags $(CPPFLAGS) $(CXXFLAGS) $<";              \
            $(CXX) $$depflags $(CPPFLAGS) $(CXXFLAGS) $<                      \
                | sed "$$sedexp1" | tr "@" "\n" | sed -n "$$sedexp2" >$@ ;    \



Mime
View raw message