[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: fixes LINKFLAGS in Makfile.include (#10460)

Gunar Schorcht notifications at github.com
Mon Nov 26 14:42:21 CET 2018


@cladmi Double checked it
```
LINKFLAGS += -lhal -lg -lc
```
has not to be in the group. Archive groups have to be defined to be able to resolve circular references. The linker goes through all archives of a group again and again until it can resolve the symbols. So I think, as long as all symbols are defined in the `-l...` list in the order from right to left, you don't need to put them in a group.

BTW, I realized that
```
LINKFLAGS += -lhal -lg -lc -g
```
contained `libg.a` two times :worried: I fixed it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10460#issuecomment-441642737
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181126/1d425c94/attachment.html>


More information about the notifications mailing list