diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-12 22:07:14 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-12 22:12:00 +0100 |
commit | eed21034efae03ee661e06122f96dc01e53afaa4 (patch) | |
tree | 77d08583f538a9f87bc1a34e6fe29c3e2f3fd13a /apks/prometheus-postgres-exporter/disable-go-race-detector.patch | |
parent | ae0a676dd82ad2c842437ee3cd36526f4951f998 (diff) | |
download | apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.tar.gz apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.tar.bz2 apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.zip |
feat: Add prometheus-postgres-exporter
Diffstat (limited to 'apks/prometheus-postgres-exporter/disable-go-race-detector.patch')
-rw-r--r-- | apks/prometheus-postgres-exporter/disable-go-race-detector.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apks/prometheus-postgres-exporter/disable-go-race-detector.patch b/apks/prometheus-postgres-exporter/disable-go-race-detector.patch new file mode 100644 index 0000000..9ba76a3 --- /dev/null +++ b/apks/prometheus-postgres-exporter/disable-go-race-detector.patch @@ -0,0 +1,16 @@ +--- a/Makefile.common ++++ b/Makefile.common +@@ -111,13 +111,6 @@ + PUBLISH_DOCKER_ARCHS = $(addprefix common-docker-publish-,$(DOCKER_ARCHS)) + TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS)) + +-ifeq ($(GOHOSTARCH),amd64) +- ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows)) +- # Only supported on amd64 +- test-flags := -race +- endif +-endif +- + # This rule is used to forward a target like "build" to "common-build". This + # allows a new "build" target to be defined in a Makefile which includes this + # one and override "common-build" without override warnings. |