Commits

Nitin Gupta committed 7b4f0fb

Set CXX to clang++ when toolset is clang

Without this, clang (instead of C++) is used even
when compiling C++ code.

  • Participants
  • Parent commits 0845e74

Comments (0)

Files changed (1)

src/tools/clang.lua

 
 		if tool == "ar" then
 			return "ar"
-		else
+		elseif tool == "cc" then
 			return "clang"
+		elseif tool == "cxx" then
+			return "clang++"
 		end
 
 	end