diff options
author | Lauri Nurmi <[email protected]> | 2016-07-03 01:28:22 +0300 |
---|---|---|
committer | Lauri Nurmi <[email protected]> | 2016-07-03 01:28:22 +0300 |
commit | af0854a30485002ba534f21bc6bdca61535f3d88 (patch) | |
tree | 9aaee3c2daf7a2d3216710e7c0ccd4f9b3a7d9f6 /configure.py | |
parent | 60c2f7a3d0ad55ca78e0df7034f9d9c4926a3ff8 (diff) |
Do not attempt to use avx2 on OpenBSD
The assembler shipping with current OpenBSD (5.9) does not support avx2
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.py b/configure.py index f61ea9e57..6679e1545 100755 --- a/configure.py +++ b/configure.py @@ -1927,6 +1927,8 @@ def main(argv = None): info_cc['gcc'].binary_name = 'eg++' else: logging.warning('Default GCC is too old; install a newer one using \'pkg_add gcc\'') + # The assembler shipping with OpenBSD 5.9 does not support avx2 + del info_cc['gcc'].isa_flags['avx2'] options.compiler = 'gcc' else: options.compiler = 'gcc' |