contiki-os/contiki — pull request #545 by bthebaudeau (2014-01-27 17:30:03+00:00)
Title: cc2538: Fix library linkage

If a project needs to use some libraries at link stage, then the corresponding
linker options (e.g. '-lm') have to be passed after any .o file depending on
these libraries. Hence, since LDFLAGS is the Makefile variable that would be
used to add such options, move it to the correct location when invoking $(LD).