• Adam Cozzette's avatar
    Fixed cross compilations with the Autotools build · b40d3186
    Adam Cozzette authored
    Pull request #2517 caused cross compilations to start failing, because
    the js_embed binary was being built to run on the target platform
    instead of on the build machine. This change updates the Autotools build
    to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for
    the build machine and always use that when building js_embed.
    b40d3186
ax_prog_cc_for_build.m4 3.94 KB