Skip to content

Commit

Permalink
Update meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
kassoulet authored Feb 7, 2025
1 parent 6bfb739 commit 7a44b71
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ project(
)
bundle_name = 'quasar.lv2'

target_cpu = target_machine.cpu_family()
#target_cpu = target_machine.cpu_family()

cc = meson.get_compiler('c')

add_global_arguments('-Wall', language: 'c')

if target_cpu == 'x86_64'
add_global_arguments('-msse', language: 'c')
add_global_arguments('-mfpmath=sse', language: 'c')
elif target_cpu == 'arm64'
add_global_arguments('-mfpu=neon', language: 'c')
endif
#if target_cpu == 'x86_64'
# add_global_arguments('-msse', language: 'c')
# add_global_arguments('-mfpmath=sse', language: 'c')
#elif target_cpu == 'arm64'
# add_global_arguments('-mfpu=neon', language: 'c')
#endif

add_global_arguments('-fanalyzer', language: 'c')

Expand Down

0 comments on commit 7a44b71

Please sign in to comment.