Force linking with the C++ compiler rather than the C compiler (since we're using SIMPLECPPSRCS rather than CPPSRCS). b=392118 r=bsmedberg a=bzbarsky
authordbaron@dbaron.org
Sun, 19 Aug 2007 17:00:40 -0700
changeset 4803 dd7592fad70f192638236e09cae1a782cf5d8f15
parent 4802 cb6d0ddd305544c1f1ae8fbc71b216211fc2eb25
child 4804 2504f4ef4ec2aeccbc113e595b3ae34bcc21b264
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg, bzbarsky
bugs392118
milestone1.9a8pre
Force linking with the C++ compiler rather than the C compiler (since we're using SIMPLECPPSRCS rather than CPPSRCS). b=392118 r=bsmedberg a=bzbarsky
tools/trace-malloc/Makefile.in
--- a/tools/trace-malloc/Makefile.in
+++ b/tools/trace-malloc/Makefile.in
@@ -48,16 +48,20 @@ REQUIRES	= xpcom \
 		  $(NULL)
 
 SIMPLECSRCS	+= \
 		bloatblame.c \
 		leakstats.c \
 		tmstats.c \
 		$(NULL)
 
+# Set CPP_PROG_LINK manually since we're using SIMPLECPPSRCS rather than
+# CPPSRCS.
+CPP_PROG_LINK	= 1
+
 SIMPLECPPSRCS	= \
 		leaksoup.cpp \
 		$(NULL)
 
 SIMPLE_PROGRAMS	= \
 		$(SIMPLECSRCS:.c=$(BIN_SUFFIX)) \
 		$(SIMPLECPPSRCS:.cpp=$(BIN_SUFFIX)) \
 		$(NULL)