summaryrefslogtreecommitdiffstats
path: root/wince/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-20 21:45:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-20 21:45:43 +0000
commitfb687c1a524a00a9f50fb244b8aee5ae35d7f7b8 (patch)
treeffc894cde7f7ca1a2ab6ef1898a294221c98e73a /wince/Makefile.sub
parent582edce4aba1e95b4c58450b36753fc7d0b9694a (diff)
downloadruby-fb687c1a524a00a9f50fb244b8aee5ae35d7f7b8.tar.gz
ruby-fb687c1a524a00a9f50fb244b8aee5ae35d7f7b8.tar.xz
ruby-fb687c1a524a00a9f50fb244b8aee5ae35d7f7b8.zip
* 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
Diffstat (limited to 'wince/Makefile.sub')
-rw-r--r--wince/Makefile.sub5
1 files changed, 5 insertions, 0 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index 77a47ff8f..e1d7de68f 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -114,6 +114,9 @@ CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/missing -I$(srcdir)/wince \
-DFILENAME_MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF \
-DBUFSIZ=512 -D_UNICODE -DUNICODE
!endif
+!if !defined(CXXFLAGS)
+CXXFLAGS = $(CFLAGS)
+!endif
!if !defined(LDFLAGS)
LDFLAGS = -link -incremental:yes -pdb:none -machine:$(MACHINE) -subsystem:$(SUBSYSTEM)
!endif
@@ -349,6 +352,8 @@ s,@target_vendor@,pc,;t t
s,@target_os@,$(OS),;t t
s,@CC@,$(CC),;t t
s,@CPP@,$(CPP),;t t
+s,@CXX@,$$(CC),;t t
+s,@LD@,$$(CC),;t t
s,@YACC@,$(YACC),;t t
s,@RANLIB@,,;t t
s,@AR@,$(AR),;t t