forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linker: ld: GNULD_LINKER_IS_BFD to indicate if ld.bfd is used
This adds a new output variable to FindGnuLd.cmake to indicate if ld.bfd is found. Since we now ask the compilers for their preferred ld.bfd linker, it may not match using the existing string equal test to ${CROSS_COMPILE}ld.bfd. So set the new variable GNULD_LINKER_IS_BFD to true if ld.bfd, and use it to pass an extra argument to compiler to make it use ld.bfd. Signed-off-by: Daniel Leung <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters