Call C compiler for linking
Using $(LD) directly for linking can cause issues with cross-compilers and various other toolchains, as various libraries such as libc may not be implicitly linked in, causing symbol resolution errors. Linking through the C compiler frontend solves this issue.
This commit is contained in:
parent
625f421f5a
commit
8d1ae98163