summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_headerunits.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-01-04 22:30:23 +0100
committerArthur LAURENT <[email protected]>2023-01-06 10:03:34 +0100
commit13ae811418d4855cb5cc223d7e4546771f704e6f (patch)
treeb30eef0cab22b263a7cecf5fdec1160dbcdc5671 /tests/projects/c++/modules/test_headerunits.lua
parent41a79045a74bccf4804a8ba11ef841ac18e403ab (diff)
Improve compatibility with libc++
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
-rw-r--r--tests/projects/c++/modules/test_headerunits.lua3
1 files changed, 3 insertions, 0 deletions
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