kvm-unit-tests: add gcc version dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 19:12:03 +0000 (21:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 19:13:54 +0000 (21:13 +0200)
commitbde0250f069d80a6f823766566d9b146d7559dce
treef58b0e7741c53a9e2529614b694d8b8c69304bd5
parente488b56cffa33ae4cd2bb4f7dd954dde0e28b2d3
kvm-unit-tests: add gcc version dependencies

On x86 (both i386 and x86_64), the kvm-unit-tests code uses
__builtin_reachable, which appeared in gcc 4.5. This commit adds the
relevant dependencies to kvm-unit-tests:

 - on i386, we need gcc 4.5 as the target compiler

 - on x86-64, we need gcc 4.5 as the host compiler, because we use the
   host compiler to build kvm-unit-tests for this architecture

Fixes:

  http://autobuild.buildroot.net/results/21340a7e6494e23adb2fe8dc6253ab220c380fec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvm-unit-tests/Config.in