package/libxml-parser-perl: make host build use correct compiler
PATCH v2 1/1 package/libxml-parser-perl: make host build use correct compiler
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.
--- package/libxml-parser-perl/libxml-parser-perl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libxml-parser-perl/libxml-parser-perl.mk +1 -1
@@ -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
Signature · 1 line
2.26.2
Thomas Petazzoni
AppliedPATCH v2 1/1 package/libxml-parser-perl: make host build use correct compiler
Quoted 11 lines · On Sun, 7 Jun 2020 00:23:38 +0200 Norbert Lange <[email protected]> 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 <[email protected]>--- package/libxml-parser-perl/libxml-parser-perl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/1 package/libxml-parser-perl: make host build use correct compiler
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Quoted 4 lines · On Sun, 7 Jun 2020 00:23:38 +0200 Norbert Lange <[email protected]> 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).
Quoted 7 lines
Quoted 7 lines
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 <[email protected]>---
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.
Signature · 1 line
Bye, Peter Korsgaard