mojo/shared: Include include_mojo_cgo in MOGO_BUILD
After 12/14/15's commit:
https://github.com/domokit/mojo/commit/60b06a6a6178a00de346eabad0c71eb7519e160b
we need this tag to compile Mojo Go binaries.
This will also allow us to upgrade our Mojo profile.
Change-Id: I8d98a8c5db9e0dbaccfb01a482b52d7278dbf792
diff --git a/mojo.mk b/mojo.mk
index 0f43ce9..ee5791d 100644
--- a/mojo.mk
+++ b/mojo.mk
@@ -59,7 +59,7 @@
# $2 is output filename.
define MOGO_BUILD
mkdir -p $(dir $2)
- jiri go -v -profiles=$(MOJO_PROFILE),base -target=$(TARGET) build -o $2 -tags=mojo -ldflags="$(LDFLAGS)" -buildmode=c-shared $1
+ jiri go -profiles=$(MOJO_PROFILE),base -target=$(TARGET) build -o $2 -tags="mojo include_mojo_cgo" -ldflags="$(LDFLAGS)" -buildmode=c-shared $1
endef
# Runs Go tests with mojo libraries