From fb687c1a524a00a9f50fb244b8aee5ae35d7f7b8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 Apr 2005 21:45:43 +0000 Subject: * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve C++ support. [ruby-dev:26089] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/Makefile.sub | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bcc32/Makefile.sub') diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 17db6937e..2005c2626 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -120,6 +120,9 @@ CFLAGS = -q -tWR -tWC $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) -w- -wsus -wcp !ifndef CPPFLAGS CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)missing !endif +!ifndef CXXFLAGS +CXXFLAGS = $(CFLAGS) +!endif !ifndef LDFLAGS LDFLAGS = -S:$(STACK) !endif @@ -326,6 +329,8 @@ s,@target_vendor@,pc,;t t s,@target_os@,$(OS),;t t s,@CC@,$(CC),;t t s,@CPP@,cpp32,;t t +s,@CXX@,$$(CC),;t t +s,@LD@,$(LD),;t t s,@YACC@,$(YACC),;t t s,@RANLIB@,,;t t s,@AR@,$(AR),;t t -- cgit