compiler_wrapper: add a `static` option

If this option is specified, we'll build a fully static binary, rather
than having it link with libc. If unspecified, our behavior shouldn't
differ from what we have today.

BUG=chromium:1087435
TEST=CQ

Change-Id: If3939336e4e10d0279501f56ffbed8272a5f546c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2219362
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
1 file changed