I just came across this today. It's happening because of the multiple use of the `{.passl: "-lm".}` pragma as @matthesoundman mentioned.
I was able to suppress the warning by adding this to my `nim.cfg` file: # suppress warning about duplicate "-lm" flag clang.options.linker = "-Wl,-no_warn_duplicate_libraries" Run