From 13ae811418d4855cb5cc223d7e4546771f704e6f Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Wed, 4 Jan 2023 22:30:23 +0100 Subject: Improve compatibility with libc++ --- tests/projects/c++/modules/test_headerunits.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/projects/c++/modules/test_headerunits.lua') diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 905812c14..85c6c35b3 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -29,6 +29,9 @@ function main(t) os.exec("xmake clean -a") os.exec("xmake f --toolchain=clang -c") _build() + os.exec("xmake clean -a") + os.exec("xmake f --toolchain=clang --cxxflags=\"-stdlib=libc++\" -c") + _build() end end end -- cgit v1.3.1