aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/61 identity cross/host_wrapper.py
blob: a3a694a4c1131ab49dda0b302afca4add9307b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import subprocess, sys, platform

# Meson does not yet support Studio cc on Solaris, only gcc or clang
if platform.system() == 'SunOS':
    cc = 'gcc'
else:
    cc = 'cc'

subprocess.call([cc, "-DEXTERNAL_HOST"] + sys.argv[1:])