mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 16:29:27 +02:00
Do not pass esp32c3.rom.newlib-time.ld to the linker, it causes the ROM version of _isatty_r to be linked instead of the newlib library version.
This commit is contained in:
parent
7284e161a2
commit
e56052bb32
@ -1614,8 +1614,7 @@ begin
|
||||
|
||||
if idf_version>=40300 then
|
||||
Info.ExeCmd[1]:=Info.ExeCmd[1]+' -T esp32c3.rom.api.ld';
|
||||
if idf_version>=40400 then
|
||||
Info.ExeCmd[1]:=Info.ExeCmd[1]+' -T esp32c3.rom.newlib-time.ld';
|
||||
|
||||
if idf_version<40400 then
|
||||
Info.ExeCmd[1]:=Info.ExeCmd[1]+' -L $IDF_PATH/components/esp32c3/ld -T esp32c3.peripherals.ld'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user