mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-02-02 08:42:31 -08:00
uname_linux: Build for 32bit MIPS too
Since Go 1.8 32bit MIPS Big/Little Endian are supported assuming the target runs Linux and the kernel either emulates an FPU or can access the CPU one. This allows the node_collector to build for mips and mipsle opening up the possibility of running it on things like home routers (DD-|Open|ASUS-)Wrt firmware usually has the necessary bits in place.
This commit is contained in:
parent
f291d2d6dd
commit
bb9d4ade0b
|
@ -11,7 +11,9 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build !nouname,linux,386 !nouname,linux,amd64 !nouname,linux,arm64 !nouname,linux,mips64 !nouname,linux,mips64le
|
// +build 386 amd64 arm64 mips64 mips64le mips mipsle
|
||||||
|
// +build linux
|
||||||
|
// +build !nouname
|
||||||
|
|
||||||
package collector
|
package collector
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue