All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/libxml-parser-perl: make host build use correct compiler
@ 2020-06-06 22:23 Norbert Lange
  2020-09-07 21:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Norbert Lange @ 2020-06-06 22:23 UTC (permalink / raw)
  To: buildroot

This package uses gcc filename without absolute path, which breaks
the host build if host and target compiler have the same filename.
(Can happen with an external toolchain).

This patch adds the variables for the host as overrides,
as they are otherwise not picked up from the environment.

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

diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk
index fcde5fc939..100c49633c 100644
--- a/package/libxml-parser-perl/libxml-parser-perl.mk
+++ b/package/libxml-parser-perl/libxml-parser-perl.mk
@@ -25,7 +25,7 @@ define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
 endef
 
 define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
-	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+	$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
 endef
 
 define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
-- 
2.26.2

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

* [Buildroot] [PATCH v2 1/1] package/libxml-parser-perl: make host build use correct compiler
  2020-06-06 22:23 [Buildroot] [PATCH v2 1/1] package/libxml-parser-perl: make host build use correct compiler Norbert Lange
@ 2020-09-07 21:54 ` Thomas Petazzoni
  2020-09-11 21:18   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2020-09-07 21:54 UTC (permalink / raw)
  To: buildroot

On Sun,  7 Jun 2020 00:23:38 +0200
Norbert Lange <nolange79@gmail.com> wrote:

> This package uses gcc filename without absolute path, which breaks
> the host build if host and target compiler have the same filename.
> (Can happen with an external toolchain).
> 
> This patch adds the variables for the host as overrides,
> as they are otherwise not picked up from the environment.
> 
> Signed-off-by: Norbert Lange <nolange79@gmail.com>
> ---
>  package/libxml-parser-perl/libxml-parser-perl.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 1/1] package/libxml-parser-perl: make host build use correct compiler
  2020-09-07 21:54 ` Thomas Petazzoni
@ 2020-09-11 21:18   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-09-11 21:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > On Sun,  7 Jun 2020 00:23:38 +0200
 > Norbert Lange <nolange79@gmail.com> wrote:

 >> This package uses gcc filename without absolute path, which breaks
 >> the host build if host and target compiler have the same filename.
 >> (Can happen with an external toolchain).
 >> 
 >> This patch adds the variables for the host as overrides,
 >> as they are otherwise not picked up from the environment.
 >> 
 >> Signed-off-by: Norbert Lange <nolange79@gmail.com>
 >> ---
 >> package/libxml-parser-perl/libxml-parser-perl.mk | 2 +-
 >> 1 file changed, 1 insertion(+), 1 deletion(-)

Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2020-09-11 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06 22:23 [Buildroot] [PATCH v2 1/1] package/libxml-parser-perl: make host build use correct compiler Norbert Lange
2020-09-07 21:54 ` Thomas Petazzoni
2020-09-11 21:18   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.