mirror of
https://github.com/golang/go
synced 2024-11-21 19:24:45 -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:
parent
e3a0c2f6cf
commit
eddddf042d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user