From cd5d99c42733b384133504fd42d71eb653340242 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Fri, 25 Feb 2022 22:49:38 +0100 Subject: [PATCH] Disable cgo to remove dependency on libc --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c67cd59..7e1374f 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,7 @@ XDG_CONFIG_HOME ?= $(HOME)/.config BIN_PATH = $(BIN_DIR)/$(BIN) BIN_PATH_WINDOWS = C:\\\\\\\\\\\\\\\\Program Files\\\\\\\\\\\\\\\\Browserpass\\\\\\\\\\\\\\\\browserpass-windows64.exe -export CGO_CPPFLAGS := ${CPPFLAGS} -export CGO_CFLAGS := ${CFLAGS} -export CGO_CXXFLAGS := ${CXXFLAGS} -export CGO_LDFLAGS := ${LDFLAGS} +export CGO_ENABLED := 0 GOFLAGS := -buildmode=pie -trimpath APP_ID = com.github.browserpass.native