Skip to content

Instantly share code, notes, and snippets.

@dasl-
Created January 17, 2019 19:37
Show Gist options
  • Save dasl-/72d8213a4c22d7d27bfe44378d1a6350 to your computer and use it in GitHub Desktop.
Save dasl-/72d8213a4c22d7d27bfe44378d1a6350 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 06446dd88..44db95b84 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,12 @@ ifndef NOBANNER
endif
go install $(VT_GO_PARALLEL) -ldflags "$(shell tools/build_version_flags.sh)" ./go/...
+build_debug:
+ifndef NOBANNER
+ echo $$(date): Building source tree
+endif
+ go install $(VT_GO_PARALLEL) -gcflags=all="-N -l" -ldflags "$(shell tools/build_version_flags.sh)" ./go/...
+
parser:
make -C go/vt/sqlparser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment