mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Use Linker cyclic option when deplibs exist
This commit is contained in:
@ -43,6 +43,7 @@ def BuildFirmware(env):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# enable "cyclic reference" for linker
|
# enable "cyclic reference" for linker
|
||||||
|
if deplibs:
|
||||||
env.Prepend(
|
env.Prepend(
|
||||||
_LIBFLAGS="-Wl,--start-group "
|
_LIBFLAGS="-Wl,--start-group "
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user