From 9fdaa57246a07fc17adb021250ae21d9eae07fc7 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 10 Feb 2024 11:18:06 -0500 Subject: [PATCH] fix: add new flags for compilation --- .goreleaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 65de1a2..f4f7689 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,9 +20,10 @@ changelog: # --------------------------- builds: - env: - - CGO_ENABLED=1 # Required for SQLite + - CGO_ENABLED=1 - GO111MODULE=on - #- CGO_CFLAGS=-Wno-error=unused-command-line-argument + - CC=aarch64-linux-gnu-gcc + - CXX=aarch64-linux-gnu-g++ main: ./cmd/ binary: "alert_system" goarch: