]> git.lizzy.rs Git - rust.git/commit
mk: Pass CFLAGS for target, not host
authorAlex Crichton <alex@alexcrichton.com>
Tue, 3 May 2016 16:34:35 +0000 (09:34 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 3 May 2016 20:49:35 +0000 (13:49 -0700)
commit74d1520c22943a0306c856c1fb873826c3c0760f
treee45e604d51d3e9aa4e8f07b8de848d24151bca35
parent3157691f963a86776cb7e6a7842f566032890aba
mk: Pass CFLAGS for target, not host

This changes the CFLAGS and related variables passed to compiletest to be passed
for the target, not the host, so we can correctly test 32-bit cross compiles on
64-bit host machines.

Hopefuly fixes #33379
mk/tests.mk
src/tools/compiletest/src/runtest.rs