Skip to content

Commit

Permalink
package/libxml-parser-perl: make host build use correct compiler
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
nolange authored and tpetazzoni committed Sep 7, 2020
1 parent 5d73028 commit efa95b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/libxml-parser-perl/libxml-parser-perl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efa95b1

Please sign in to comment.