Commit 3bb63fac authored by nanahira's avatar nanahira

fix

parent 0263df1f
#!/bin/bash #!/bin/bash
libs_to_configure=("ogg" "opus") libs_to_configure=(
"ogg"
# "opus"
)
cd miniaudio/external cd miniaudio/external
for lib in "${libs_to_configure[@]}"; do for lib in "${libs_to_configure[@]}"; do
......
...@@ -117,7 +117,7 @@ project "miniaudio" ...@@ -117,7 +117,7 @@ project "miniaudio"
"HAVE_LRINTF", "HAVE_LRINTF",
"OP_HAVE_LRINTF", "OP_HAVE_LRINTF",
} }
if not TARGET_MAC_ARM then if not TARGET_MAC_ARM and not IS_ARM then
files { files {
"external/opus/celt/x86/pitch_avx.c", "external/opus/celt/x86/pitch_avx.c",
"external/opus/celt/x86/pitch_sse.c", "external/opus/celt/x86/pitch_sse.c",
...@@ -138,3 +138,4 @@ project "miniaudio" ...@@ -138,3 +138,4 @@ project "miniaudio"
filter "system:linux" filter "system:linux"
links { "dl", "pthread", "m" } links { "dl", "pthread", "m" }
buildoptions { "-mavx2", "-mfma" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment