Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] traceroute: fix 'no rule to make target -lm' error
@ 2018-10-18 22:37 Sergio Prado
  2018-11-04 10:45 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sergio Prado @ 2018-10-18 22:37 UTC (permalink / raw)
  To: buildroot

Fix the following build error:

make[3]: *** No rule to make target '-lm', needed by 'traceroute'.

Fixes:
http://autobuild.buildroot.org/results/dde63672e1de1d4ba036331ab127ccc8ff044444
http://autobuild.buildroot.org/results/4efb67e6a29c3dd784676d30a1051f9f0c2a6c80
http://autobuild.buildroot.org/results/7ac23a3959aec22297695899c0f76dbbc4e114d3
And many more...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
 package/traceroute/traceroute.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/traceroute/traceroute.mk b/package/traceroute/traceroute.mk
index 192197498df7..a02982a6b5f0 100644
--- a/package/traceroute/traceroute.mk
+++ b/package/traceroute/traceroute.mk
@@ -11,7 +11,7 @@ TRACEROUTE_LICENSE = GPL-2.0+, LGPL-2.1+
 TRACEROUTE_LICENSE_FILES = COPYING COPYING.LIB
 
 define TRACEROUTE_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
+	$(TARGET_MAKE_ENV) VPATH=$(STAGING_DIR)/usr/lib $(MAKE) $(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
 endef
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-25 20:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-18 22:37 [Buildroot] [PATCH] traceroute: fix 'no rule to make target -lm' error Sergio Prado
2018-11-04 10:45 ` Thomas Petazzoni
2018-11-04 11:26   ` Thomas Petazzoni
2018-11-05 15:25     ` Arnout Vandecappelle
2018-11-05 23:40       ` Arnout Vandecappelle
2018-11-06 10:07         ` Peter Korsgaard
2018-11-06 10:32           ` Arnout Vandecappelle
2018-11-07 21:08         ` Peter Korsgaard
2018-11-07 21:02 ` Peter Korsgaard
2018-11-25 20:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox