6c2c70c61e
The patch Make: use gcc as LD introduced use of GCC wrapper as linker. LD variable references GCC executable now. But when GCC wrapper s used to build relocatable loadable objects (ELF executables and modules) then it causes linking of toolchain default libc and other libraries even when -r is usd. Another problem is that incorrect multiarch variant is selected for libraries search and possibly even for LTO or C++ templates instantiating and other glue code which causes fails during linking if CFLAGS selects non/default miltiarch variant. Corresponding CFLAGS are passed to LDMODULEFLAGS and LDELFFLAGS as well as -nostartfiles -nodefaultlibs options. Separate line is used to easily find and adjust lines if link process is changed in future. Signed-off-by: Pavel Pisa <ppisa@pikron.com> |
||
---|---|---|
.. | ||
dk-tm4c129x | ||
eagle100 | ||
ekk-lm3s9b96 | ||
launchxl-cc1310 | ||
launchxl-cc1312r1 | ||
lm3s6432-s2e | ||
lm3s6965-ek | ||
lm3s8962-ek | ||
lm4f120-launchpad | ||
tm4c123g-launchpad | ||
tm4c1294-launchpad |