From 35d71d6727a6605aa7ee33ef1a5d986a140287d2 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 30 Oct 2015 11:48:43 +1300 Subject: cmd/go, runtime: define GOBUILDMODE_shared rather than shared when dynamically linking To avoid collisions with what existing code may already be doing. Change-Id: Ice639440aafc0724714c25333d90a49954372230 Reviewed-on: https://go-review.googlesource.com/16503 Reviewed-by: Ian Lance Taylor --- src/runtime/sys_linux_386.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime') diff --git a/src/runtime/sys_linux_386.s b/src/runtime/sys_linux_386.s index f2beb18455..9e0e87cafc 100644 --- a/src/runtime/sys_linux_386.s +++ b/src/runtime/sys_linux_386.s @@ -10,7 +10,7 @@ #include "go_tls.h" #include "textflag.h" -#ifdef shared +#ifdef GOBUILDMODE_shared #define INVOKE_SYSINFO CALL 0x10(GS) #else #define INVOKE_SYSINFO CALL *runtimeĀ·_vdso(SB) -- cgit v1.3-5-g9baa