diff --git a/Meta/find_compiler.sh b/Meta/find_compiler.sh index 2524c1e7486..f7ae5920412 100644 --- a/Meta/find_compiler.sh +++ b/Meta/find_compiler.sh @@ -50,7 +50,7 @@ find_newest_compiler() { pick_host_compiler() { CC=${CC:-"cc"} - CXX=${CXX:-"cxx"} + CXX=${CXX:-"c++"} if is_supported_compiler "$CC" && is_supported_compiler "$CXX"; then return diff --git a/Meta/gn/README.md b/Meta/gn/README.md index 957df113286..aa480860a2a 100644 --- a/Meta/gn/README.md +++ b/Meta/gn/README.md @@ -40,7 +40,7 @@ If you modify `args.gn` outside of `gn args`, be sure to run `gn gen` again to r On macOS, the default args should work out of the box. For compiling Ladybird there won't be any tailoring needed if you have Qt6 installed via homebrew and the Xcode tools installed. -On Ubuntu, it's likely that the default ``cc`` and ``cxx`` will not be able to compile the project. For compiling Ladybird, a typical ``args.gn`` might look like the below: +On Ubuntu, it's likely that the default ``cc`` and ``c++`` will not be able to compile the project. For compiling Ladybird, a typical ``args.gn`` might look like the below: args.gn ```gn