parent
e1c0923915
commit
53db2b8c1b
|
@ -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')
|
||||||
|
|
|
@ -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')
|
|
||||||
|
|
Loading…
Reference in New Issue