Imported Debian fixes by Matthias Klose.

pull/3358/head
Jussi Pakkanen 7 years ago
parent 3e23f36a3c
commit c72b4e1b9c
  1. 4
      cross/ubuntu-armhf.txt
  2. 2
      run_tests.py

@ -1,8 +1,8 @@
[binaries]
# we could set exe_wrapper = qemu-arm-static but to test the case
# when cross compiled binaries can't be run we don't do that
c = '/usr/bin/arm-linux-gnueabihf-gcc-7'
cpp = '/usr/bin/arm-linux-gnueabihf-g++-7'
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
rust = ['rustc', '--target', 'arm-unknown-linux-gnueabihf', '-C', 'linker=/usr/bin/arm-linux-gnueabihf-gcc-7']
ar = '/usr/arm-linux-gnueabihf/bin/ar'
strip = '/usr/arm-linux-gnueabihf/bin/strip'

@ -131,7 +131,7 @@ def get_fake_options(prefix):
return opts
def should_run_linux_cross_tests():
return shutil.which('arm-linux-gnueabihf-gcc-7') and not platform.machine().lower().startswith('arm')
return shutil.which('arm-linux-gnueabihf-gcc') and not platform.machine().lower().startswith('arm')
def run_configure_inprocess(meson_command, commandlist):
old_stdout = sys.stdout

Loading…
Cancel
Save