@@ -47,12 +47,12 @@ target("infiniop-metax")
4747 on_install (function (target ) end )
4848 set_languages (" cxx17" )
4949 set_warnings (" all" , " error" )
50- add_cxflags (" -lstdc++" , " -fPIC" , " -Wno-defaulted-function-deleted" , " -Wno-strict-aliasing" , {force = true })
50+ add_cxxflags (" -lstdc++" , " -fPIC" , " -Wno-defaulted-function-deleted" , " -Wno-strict-aliasing" , {force = true })
5151 add_files (" ../src/infiniop/devices/metax/*.cc" , " ../src/infiniop/ops/*/metax/*.cc" )
5252 add_files (" ../src/infiniop/ops/*/metax/*.maca" , {rule = " maca" })
5353
5454 if has_config (" ninetoothed" ) then
55- add_files (" ../build/ninetoothed/*.c" , {cxflags = {" -include stdlib.h" , " -Wno-return-type" }})
55+ add_files (" ../build/ninetoothed/*.c" , {cxxflags = {" -include stdlib.h" , " -Wno-return-type" }})
5656 end
5757target_end ()
5858
@@ -62,7 +62,7 @@ target("infinirt-metax")
6262 on_install (function (target ) end )
6363 add_deps (" infini-utils" )
6464 set_warnings (" all" , " error" )
65- add_cxflags (" -lstdc++ -fPIC" )
65+ add_cxxflags (" -lstdc++ -fPIC" )
6666 add_files (" ../src/infinirt/metax/*.cc" )
6767target_end ()
6868
@@ -72,7 +72,7 @@ target("infiniccl-metax")
7272 on_install (function (target ) end )
7373 set_warnings (" all" , " error" )
7474 if not is_plat (" windows" ) then
75- add_cxflags (" -fPIC" )
75+ add_cxxflags (" -fPIC" )
7676 end
7777 if has_config (" ccl" ) then
7878 if has_config (" use-mc" ) then
0 commit comments