Eg, export WM_COMPILER=Clang130 export WM_COMPILE_CONTROL="version=13.0 +lld" - also support the mold linker (+mold) for clang STYLE: report as 'link' stage instead of 'ld' in short messages
11 lines
232 B
Plaintext
11 lines
232 B
Plaintext
LINK_LIBS = $(c++DBUG)
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared \
|
|
-fuse-ld=lld \
|
|
$(FOAM_EXTRA_LDFLAGS)
|
|
|
|
LINKEXE = $(CC) $(c++FLAGS) \
|
|
-fuse-ld=lld \
|
|
-L$(FOAM_LIBBIN)/dummy -lPstream \
|
|
$(FOAM_EXTRA_LDFLAGS)
|