timescale / prometheus-postgresql-adapter

Use PostgreSQL as a remote storage database for Prometheus
Apache License 2.0
335 stars 66 forks source link

Generalize ARCH config in Makefile #69

Closed jcoleman closed 5 years ago

jcoleman commented 5 years ago

The current Makefile only allows building AMD64 and i386, but there's no reason why go can't build other archs. This setting of a specific arch seems somewhat superfluous anyway since go provides us the proper arch in its env, but I've retained the current behavior for safety if we can't find the arch from go config.

The new default is to rely on GOARCH.