Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | Use build_cc to compile the programs to run on build host |
| 2 | helps with cross compiling |
| 3 | |
| 4 | Upstream-Status: Inappropriate [Cross-compiled OE specific] |
| 5 | |
| 6 | diff --git a/src/common/mathvariants/Makefile.am b/src/common/mathvariants/Makefile.am |
| 7 | index 636ccf0..ed9921d 100644 |
| 8 | --- a/src/common/mathvariants/Makefile.am |
| 9 | +++ b/src/common/mathvariants/Makefile.am |
| 10 | @@ -52,7 +52,7 @@ XSLTPROC = xsltproc |
| 11 | %.cc : %_gen.cc $(srcdir)/variant.top $(srcdir)/variant.bot |
| 12 | cat $(srcdir)/variant.top >$@ |
| 13 | $(XSLTPROC) --novalid --param temp "false()" $(srcdir)/extract.xsl $(<:%_gen.cc=$(srcdir)/xml/%.xml) >>$@ |
| 14 | - $(CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< |
| 15 | + $(BUILD_CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< |
| 16 | echo "Char32 " >>$@ |
| 17 | basename map_variant_$@ .cc | tr "-" "_" >>$@ |
| 18 | echo "(Char32 ch)" >>$@ |