From 866a6f4a41cf5ca92313e11fd993c1be29acfee8 Mon Sep 17 00:00:00 2001 From: Anish K Date: Tue, 14 Jan 2025 21:52:27 -0500 Subject: [PATCH] minor bug fix --- src/build_sys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build_sys.rs b/src/build_sys.rs index a60c322..9d518a9 100644 --- a/src/build_sys.rs +++ b/src/build_sys.rs @@ -90,7 +90,7 @@ pub fn link_sys_lib(path: &Path) -> Vec { ("", "-lGL"), // OpenGL library ("", "-lglut"), // GLUT library for OpenGL ("", "-lX11"), // X11 library for X Window System - ("", "-mavx"), // AVX instructions + ("", "-march=native"), // AVX instructions ("", "-luring"), // liburing library for asynchronous I/O ("", "-mfpu=neon"), // NEON support for ARM ];