mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
CONFIG: support explicit selection of 'ld' linker
- for clang-based compilers the default linker may be lld or simply ld. Support '+link-ld' to explicitly select use of the ld linker. - consolidate linker rules into single files STYLE: adjust SPDX Identifier
This commit is contained in:
@ -16,10 +16,6 @@ cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
cxxtoo = $(Ctoo)
|
||||
|
||||
ifneq (,$(findstring +gold,$(WM_COMPILE_CONTROL)))
|
||||
include $(GENERAL_RULES)/Gcc/link-gold-c++
|
||||
else
|
||||
include $(GENERAL_RULES)/Gcc/link-c++
|
||||
endif
|
||||
include $(GENERAL_RULES)/Gcc/link-c++
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user