More work on CCVER=clangsvn.
authorSascha Wildner <saw@online.de>
Mon, 19 Jul 2010 20:38:05 +0000 (22:38 +0200)
committerSascha Wildner <saw@online.de>
Mon, 19 Jul 2010 20:38:52 +0000 (22:38 +0200)
* For C++ code, call clang as clang++.

* Add some options for C++ compilation.

etc/defaults/compilers.conf

index 3f38b61..d443e8a 100644 (file)
@@ -1,8 +1,9 @@
 # clang from SVN trunk
 #
 clangsvn_CC=/usr/local/bin/clang
-clangsvn_CXX=${clangsvn_CC}
+clangsvn_CXX=/usr/local/bin/clang++
 clangsvn_CFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu89"
+clangsvn_CXXFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu++98"
 clangsvn_VERSION=4.1.2
 
 # clang from pkgsrc