valgrind: do not use host mpicc
authorJérôme Pouiller <jezz@sysmic.org>
Wed, 9 Nov 2016 09:51:24 +0000 (10:51 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Nov 2016 21:15:06 +0000 (22:15 +0100)
commitafc9274715d0bf4c92bd930cdeb91bdc60904c4f
tree74f7217d085b34cbee6f9b362be621dd48992a3f
parent6668a0ed5ce5174d2307997e7a6d7c9f94ccb282
valgrind: do not use host mpicc

Valgrind may use 'mpicc' (from openmi project) to compile libmpiwrap-*.so.
Without any option, it will detect and use 'mpicc' from host and generate
libmpiwrap-*.so for host:

  $ file target/usr/lib/valgrind/libmpiwrap-arm-linux.so
  target/usr/lib/valgrind/libmpiwrap-arm-linux.so: ELF 64-bit LSB  shared object,
  x86-64, version 1 (SYSV), dynamically linked, not stripped

We simply disable openmi support for valgrind.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
[Thomas: refactor with other unconditional CONF_OPTS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/valgrind/valgrind.mk