浏览代码

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.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit efa95b19aeab6bdcd7d5a620e199c2c32cf2516b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Norbert Lange 5 年之前
父节点
当前提交
d6271e78ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/libxml-parser-perl/libxml-parser-perl.mk

+ 1 - 1
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