-
Committer:
Tarmac
-
Author(s):
Kevin DuBois
-
Date:
2015-09-10 23:14:21 UTC
-
mfrom:
(2912.3.3 fix-cross)
-
Revision ID:
tarmac-20150910231421-n132v3twq1fojqc3
fix sbuild cross compilation failure by passing the compiler variables to the gtest/gmock sub-project instead of our toolchain file. Also allow for setting MIR_TARGET_MACHINE and MIR_GCC_VARIANT via cmake -DMIR_TARGET_MACHINE=... (previously it was had to be set in the environment)
fixes: lp: #1493895. Fixes: https://bugs.launchpad.net/bugs/1493895.
Approved by Cemil Azizoglu, Alan Griffiths, PS Jenkins bot.