From defc784dd813d412de233cf79b65e2af46a5e9d0 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 8 Apr 2023 16:07:58 +1200 Subject: [PATCH] cflags/arm64: fix mcpu flag syntax --- cflags_linux_arm64.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cflags_linux_arm64.go b/cflags_linux_arm64.go index 6e585e2..178310f 100644 --- a/cflags_linux_arm64.go +++ b/cflags_linux_arm64.go @@ -1,7 +1,7 @@ package main /* -#cgo CFLAGS: -O3 -DNDEBUG -std=c11 -mcpu -pthread -#cgo CXXFLAGS: -O3 -DNDEBUG -std=c++11 -mcpu -pthread +#cgo CFLAGS: -O3 -DNDEBUG -std=c11 -mcpu=native -pthread +#cgo CXXFLAGS: -O3 -DNDEBUG -std=c++11 -mcpu=native -pthread */ import "C"