1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:47:57 -07:00

arm: make libcgo build during OS X cross-compile

The gcc on OS X seems pickier about noticing
symbols that are referred to but not found during
the link of a .so file.

R=r
CC=golang-dev
https://golang.org/cl/2098047
This commit is contained in:
Russ Cox 2010-09-11 23:36:06 -04:00
parent e3a0c2f6cf
commit eddddf042d

View File

@ -1 +1,17 @@
/* unimplemented */
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "libcgo.h"
void
initcgo(void)
{
}
void
libcgo_sys_thread_start(ThreadStart *ts)
{
// unimplemented
*(int*)0 = 0;
}