apps/graphics/traveler/tools: Fix linkage issue. The -lm should come after -o binname

This commit is contained in:
Alan Carvalho de Assis 2017-01-07 14:10:07 -06:00 committed by Gregory Nutt
parent 07e3637100
commit a30c439a52

View File

@ -114,7 +114,7 @@ endif
# mktrig - Regenerate trigonometry look-up tables
mktrig$(HOSTEXEEXT): $(MKTRIG_OBJS)
$(Q) $(HOSTCC) $(HOSTCFLAGS) -lm $< -o $@
$(Q) $(HOSTCC) $(HOSTCFLAGS) $< -o $@ -lm
ifdef HOSTEXEEXT
mktrig: mktrig$(HOSTEXEEXT)