Lines Matching +full:force +full:- +full:off
1 # SPDX-License-Identifier: Apache-2.0
12 # Set to 'GNULD_LINKER-NOTFOUND' if ld was not found.
35 "defined. Assuming GNULD_LINKER_IS_BFD as OFF, please set GNULD_LINKER_IS_BFD "
38 set(GNULD_LINKER_IS_BFD OFF)
46 execute_process(COMMAND ${CMAKE_C_COMPILER} --print-prog-name=ld.bfd
52 set(GNULD_LINKER_IS_BFD ON CACHE BOOL "Linker BFD compatibility (compiler reported)" FORCE)
66 set(GNULD_LINKER_IS_BFD ON CACHE BOOL "Linker BFD compatibility (inferred from binary)" FORCE)
69 set(GNULD_LINKER_IS_BFD OFF CACHE BOOL "Linker BFD compatibility (inferred from binary)" FORCE)
74 # Parse the 'ld.bfd --version' output to find the installed version.
77 ${GNULD_LINKER} --version
87 # - "GNU ld (GNU Binutils for Ubuntu) 2.34"
88 # - "GNU ld (Zephyr SDK 0.15.2) 2.38"
89 # - "GNU ld (Gentoo 2.39 p5) 2.39.0"
91 "GNU ld \\(.+\\) ([0-9]+[.][0-9]+[.]?[0-9]*).*"
93 set(GNULD_VERSION_STRING ${CMAKE_MATCH_1} CACHE STRING "GNU ld version" FORCE)