summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoyu Bai <divinekid@gmail.com>2009-01-24 14:24:49 +0000
committerHaoyu Bai <divinekid@gmail.com>2009-01-24 14:24:49 +0000
commit83769e200ece6422d193f7b0da2ffa1a9d73e1c3 (patch)
tree5dd465d4ec0e76a81ec1e360e43f72fa06a33274
parent6d2aef67d9724358cc842413f6dbcb953d94ab74 (diff)
downloadswig-83769e200ece6422d193f7b0da2ffa1a9d73e1c3.tar.gz
Enforce all SWIG .c source code to compile under C++ compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/swig-2.0@11084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Source/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Makefile.am b/Source/Makefile.am
index 84c595bc0..c282a6a41 100644
--- a/Source/Makefile.am
+++ b/Source/Makefile.am
@@ -96,6 +96,9 @@ eswig_LDADD = @SWIGLIBS@
# Override the link stage to avoid using Libtool
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+# Enforce all SWIG .c source code to compile under C++ compiler
+CC = $(CXX)
+
# The executable is copied to the root directory for installation and running the test-suite.
# This occurs on each invocation of make and is a step towards providing support for multiple
# build directories.