From 51aa0862f99f6f87c3e03445b46344893a2b445c Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 28 Jul 2014 15:41:06 -0700 Subject: [PATCH] Fix compiler accidentally being passed twice. Don't know how this slipped through... Change-Id: I5a3bba06bea4f4016e4ac30a700666b2cf2b3556 --- test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lit.cfg b/test/lit.cfg index 9847d607b..242861368 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -92,7 +92,7 @@ class LibcxxTestFormat(lit.formats.FileBasedTest): return self._evaluate_test(test, lit_config) def _build(self, exec_path, source_path, compile_only=False): - cmd = [self.cxx_under_test, self.cxx_under_test, '-o', exec_path, + cmd = [self.cxx_under_test, '-o', exec_path, source_path] + self.cpp_flags if compile_only: cmd += ['-c']