Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libxml-parser-perl: fix build when host matches target gcc
@ 2022-12-10 13:17 Norbert Lange
  2022-12-10 16:18 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Norbert Lange @ 2022-12-10 13:17 UTC (permalink / raw)
  To: buildroot; +Cc: Norbert Lange, Thomas Petazzoni

The host configure and build step looks for same compiler name
(eg. x86_64-linux-gnu-gcc), and the build potentially breaks
if the target compiler is named identically.

revert PATH env variable to not include the target binaries.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
---
 package/libxml-parser-perl/libxml-parser-perl.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk
index 37cef2e418..4af4485429 100644
--- a/package/libxml-parser-perl/libxml-parser-perl.mk
+++ b/package/libxml-parser-perl/libxml-parser-perl.mk
@@ -14,6 +14,7 @@ LIBXML_PARSER_PERL_RUN_PERL = `which perl`
 
 HOST_LIBXML_PARSER_PERL_CONFIGURE_OPTS = \
 	$(HOST_CONFIGURE_OPTS) \
+	PATH="$(PATH)" \
 	LD="$(HOSTCC)"
 
 define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-12-10 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10 13:17 [Buildroot] [PATCH] package/libxml-parser-perl: fix build when host matches target gcc Norbert Lange
2022-12-10 16:18 ` Yann E. MORIN
2022-12-10 16:55   ` Norbert Lange

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