- Initial package for version 2024.6.0 - Add 001-skip-test.patch and 002-use-pie.patch OBS-URL: https://build.opensuse.org/request/show/1185388 OBS-URL: https://build.opensuse.org/package/show/network/cloudflared?expand=0&rev=3
13 lines
719 B
Diff
13 lines
719 B
Diff
diff -Nur cloudflared-2024.6.0/Makefile cloudflared-2024.6.0-new/Makefile
|
|
--- cloudflared-2024.6.0/Makefile 2024-07-04 16:51:47.504973737 +0800
|
|
+++ cloudflared-2024.6.0-new/Makefile 2024-07-04 16:52:14.844931090 +0800
|
|
@@ -131,7 +131,7 @@
|
|
$(info Building cloudflared with go-fips)
|
|
cp -f fips/fips.go.linux-amd64 cmd/cloudflared/fips.go
|
|
endif
|
|
- GOOS=$(TARGET_OS) GOARCH=$(TARGET_ARCH) $(ARM_COMMAND) go build -mod=vendor $(GO_BUILD_TAGS) $(LDFLAGS) $(IMPORT_PATH)/cmd/cloudflared
|
|
+ GOOS=$(TARGET_OS) GOARCH=$(TARGET_ARCH) $(ARM_COMMAND) go build -mod=vendor -buildmode=pie $(GO_BUILD_TAGS) $(LDFLAGS) $(IMPORT_PATH)/cmd/cloudflared
|
|
ifeq ($(FIPS), true)
|
|
rm -f cmd/cloudflared/fips.go
|
|
./check-fips.sh cloudflared
|