From d9a893a554d6077f5cab4aa8a81f24213443232e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 2 Aug 2018 19:07:22 +0200 Subject: Makefile: don't compile all targets into target binaries Currently target binaries contain support for all OS/arch combinations. However, obviously a fuchsia target binary won't test windows. For target binaries we need support only for a single target (with the exception of 386/arm target in amd64/arm64 binaries). So compile in only _the_ target into target binaries. This reduces akaros/amd64 fuzzer binary from 33 to 7 MB and execprog from 28 to 2 MB. --- sys/linux/gen/empty.go | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sys/linux/gen/empty.go (limited to 'sys/linux/gen/empty.go') diff --git a/sys/linux/gen/empty.go b/sys/linux/gen/empty.go new file mode 100644 index 000000000..5baff07bf --- /dev/null +++ b/sys/linux/gen/empty.go @@ -0,0 +1,3 @@ +// AUTOGENERATED FILE +// This file is needed if OS is completely excluded by build tags. +package gen -- cgit mrf-deployment