blob: d4f712d76f6104f5a1a2f665baeb50f6913c74e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Required to fix build with -buildmode=pie.
See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809
diff -upr browserpass-native-3.1.0.orig/Makefile browserpass-native-3.1.0/Makefile
--- browserpass-native-3.1.0.orig/Makefile 2024-03-11 11:00:29.075384439 +0100
+++ browserpass-native-3.1.0/Makefile 2024-03-11 11:00:42.388752117 +0100
@@ -10,7 +10,6 @@ XDG_CONFIG_HOME ?= $(HOME)/.config
BIN_PATH = $(BIN_DIR)/$(BIN)
BIN_PATH_WINDOWS = C:\\\\\\\\\\\\\\\\Program Files\\\\\\\\\\\\\\\\Browserpass\\\\\\\\\\\\\\\\browserpass-windows64.exe
-export CGO_ENABLED := 0
GOFLAGS := -buildmode=pie -trimpath
APP_ID = com.github.browserpass.native
|