diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-16 14:23:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-20 18:25:09 +0100 |
| commit | 055bdbca9582b43e2bd8d0373f35f37c9a2a73f8 (patch) | |
| tree | ef48d28005a24f2e4e404e746955e508fb595f37 | |
| parent | 0232d80a625b2ffae687e6473ab3fc2603cf87ea (diff) | |
Use C++17 when building for (new) macOS.
| -rw-r--r-- | cscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -587,8 +587,10 @@ def configure_options(target, options, for_package=False): if can_build_disk(target): opt += ' --enable-disk' - if target.platform == 'osx' and target.arch == 'arm64': - opt += ' --target-macos-arm64 --wx-config=%s/wx-config' % target.bin + if target.platform == 'osx': + opt += ' --c++17' + if target.arch == 'arm64': + opt += ' --target-macos-arm64 --wx-config=%s/wx-config' % target.bin if target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ['22.04']: opt += ' --enable-grok' |
