aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/61 identity cross/build_wrapper.py
blob: 15d5c07dde5a97cc2367ad95d2ddcd83340b72ba (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_BUILD"] + sys.argv[1:])