opnsense-ports/audio/noise-repellent-lv2/files/patch-meson.build
Franco Fichtner 6f2a07698e */*: sync with upstream
Taken from: HardenedBSD
2020-02-03 17:40:19 +01:00

20 lines
698 B
Text

--- meson.build.orig 2020-01-07 01:30:53 UTC
+++ meson.build
@@ -25,8 +25,8 @@ current_os = build_machine.system()
current_arch = build_machine.cpu_family()
cflags = []
-# Add x86_64 optimization where appropriate (not for ARM)
-if current_arch != 'aarch64'
+# Add x86_64 optimization where appropriate
+if current_arch == 'x86' or current_arch == 'x86_64'
cflags += ['-msse','-msse2','-mfpmath=sse']
endif
@@ -82,4 +82,4 @@ nrepel_ttl = custom_target('nrepel_ttl',
if sord_validate.found()
test('LV2 validation', sord_validate,
args : [run_command('find','./lv2 -name "*.ttl"').stdout(), run_command('find','. -name "*.ttl"').stdout()])
-endif
\ No newline at end of file
+endif