Commit c1fbe589 authored by Russ Cox's avatar Russ Cox

Make.pkg: use installed runtime.h for cgo

Fixes #1381.

R=r, r2
CC=golang-dev
https://golang.org/cl/3775050
parent db89e19d
......@@ -157,7 +157,7 @@ _CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup
_CGO_LDFLAGS_windows=-shared -lm -mthreads
# Have to compile the runtime header.
RUNTIME_CFLAGS=-I"$(GOROOT)/src/pkg/runtime"
RUNTIME_CFLAGS=-I"$(pkgdir)"
# Compile _cgo_defun.c with 6c; needs access to the runtime headers.
_cgo_defun.$O: _cgo_defun.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment