Skip to content

Commit 49a52c1

Browse files
committed
fix build in windows/mac
1 parent 4ac8424 commit 49a52c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Core/CommandLineInputs.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,11 @@ ToolchainPreference CommandLineInputs::getToolchainPreferenceFromString(const st
13911391
#else
13921392
ret.rc = fmt::format("llvm-rc{}", suffix);
13931393
#endif
1394+
#if defined(CHALET_MACOS)
13941395
ret.linker = isAppleClang ? "ld" : "lld";
1396+
#else
1397+
ret.linker = "lld";
1398+
#endif
13951399
ret.archiver = "ar";
13961400
#if defined(CHALET_WIN32)
13971401
ret.profiler = isVisualStudioLLVM ? "vsinstr" : "gprof";

0 commit comments

Comments
 (0)