mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Build RPM and Debian package with PIE mode enabled
This commit is contained in:
parent
1f3a9dabc2
commit
423e06cbe8
2 changed files with 2 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ export PGPASSWORD := postgres
|
|||
debian-packages
|
||||
|
||||
miniflux:
|
||||
@ go build -ldflags=$(LD_FLAGS) -o $(APP) main.go
|
||||
@ go build -buildmode=pie -ldflags=$(LD_FLAGS) -o $(APP) main.go
|
||||
|
||||
linux-amd64:
|
||||
@ GOOS=linux GOARCH=amd64 go build -ldflags=$(LD_FLAGS) -o $(APP)-linux-amd64 main.go
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue