Closed ziyao233 closed 2 weeks ago
Use $CXX instead of $CC to detect whether C++ programs could be built statically. Add function test_cxxflags for convenience.
Fix test error in an environment where C++ programs cannot be built statically, with error like:
mold: fatal: library not found: c++
Thanks!
Use $CXX instead of $CC to detect whether C++ programs could be built statically. Add function test_cxxflags for convenience.
Fix test error in an environment where C++ programs cannot be built statically, with error like:
mold: fatal: library not found: c++