Skip to content

Commit dbbfe0f

Browse files
committed
add ::-lm to compile.link
This fixes UECIDE/UECIDE#73 according to http://uecide.org/forum/viewtopic.php?f=9&t=355
1 parent 22f9a7b commit dbbfe0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compilers/arm-teensy3-gcc/windows/files/compiler.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ compile.c=${gcc}::${cflags}::${core.flags}::${board.flags}::-o::${object.name}::
1818

1919
compile.cpp=${gpp}::${cppflags}::${core.flags}::${board.flags}::-o::${object.name}::-c::${source.name}::${includes}
2020

21-
compile.link=${gcc}::${ldflags}::${core.ldflags}::${board.ldflags}::-o::${build.path}/${filename}.elf::${object.filelist}::-L${build.path}::-L${cache.root}::-Wl,--start-group::${libraries}::-Wl,--end-group
21+
compile.link=${gcc}::${ldflags}::${core.ldflags}::${board.ldflags}::-o::${build.path}/${filename}.elf::${object.filelist}::-L${build.path}::-L${cache.root}::-Wl,--start-group::${libraries}::-Wl,--end-group::-lm
2222

2323
ldflags=-Wl,--gc-sections,-u,main::-mthumb::-mcpu=${build.cpu}::-T${core.root}/api/${build.linkscript}
2424

0 commit comments

Comments
 (0)