Remove optimisation flags

Let's leave it to the package maintainers
pull/44/head
Andri Yngvason 2020-07-26 11:35:39 +00:00
parent e1c0923915
commit 53db2b8c1b
2 changed files with 0 additions and 10 deletions

View File

@ -21,14 +21,6 @@ if buildtype != 'debug' and buildtype != 'debugoptimized'
c_args += '-DNDEBUG' c_args += '-DNDEBUG'
endif endif
cpu = host_machine.cpu_family()
if cpu == 'x86_64'
c_args += '-m' + get_option('x86_64-simd')
elif cpu == 'arm'
c_args += '-mfpu=neon'
endif
add_project_arguments(c_args, language: 'c') add_project_arguments(c_args, language: 'c')
cc = meson.get_compiler('c') cc = meson.get_compiler('c')

View File

@ -2,5 +2,3 @@ option('benchmarks', type: 'boolean', value: false, description: 'Build benchmar
option('examples', type: 'boolean', value: false, description: 'Build examples') option('examples', type: 'boolean', value: false, description: 'Build examples')
option('jpeg', type: 'feature', value: 'auto', description: 'Enable JPEG compression') option('jpeg', type: 'feature', value: 'auto', description: 'Enable JPEG compression')
option('tls', type: 'feature', value: 'auto', description: 'Enable encryption & authentication') option('tls', type: 'feature', value: 'auto', description: 'Enable encryption & authentication')
option('x86_64-simd', type: 'string', value: 'sse2',
description: 'Choose SIMD extension for x86_64 release build')