]> rtime.felk.cvut.cz Git - omk.git/commit
NuttX: define LD to point to GNU ld, NuttX provided LD points to GCC wrapper now .
authorPavel Pisa <ppisa@pikron.com>
Sun, 18 Jul 2021 09:38:59 +0000 (11:38 +0200)
committerPavel Pisa <ppisa@pikron.com>
Sun, 18 Jul 2021 09:38:59 +0000 (11:38 +0200)
commita2a8d9e39639ecead5a5275c680ddef0fd177b2e
tree71767af9fd45094b828b12c999fad82171237af1
parent1ca4076e9ce744e4f21581f720984023988af326
NuttX: define LD to point to GNU ld, NuttX provided LD points to GCC wrapper now .

The use of GCC wrapper and collect2 can have advantages
for LTO, whole program optimization C++ templates,
but causes many problems. Many low level linker options
has to be escaped by -Wl, and -nostartfiles -nodefaultlibs
has to be added to modules and ELF programs linking etc.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
snippets/nuttx-compile.omk