1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:57:57 -07:00

build: work with GNU Make 3.82

Fix building on GNU Make 3.82 (caused by mixed implicit and normal
rules).

The issue was introduced in changeset 6110:ca0beac3b543.

R=rsc
CC=golang-dev
https://golang.org/cl/2100044
This commit is contained in:
Jukka-Pekka Kekkonen 2010-09-07 15:14:14 -04:00 committed by Russ Cox
parent 947e2180e9
commit 1cec72cff1

View File

@ -116,7 +116,10 @@ _cgo_defun.c: $(CGOFILES)
CGOPKGPATH=$(dir) cgo -- $(CGO_CFLAGS) $(CGOFILES)
# Ugly but necessary
_cgo_gotypes.go _cgo_export.c _cgo_export.h %.cgo1.go %.cgo2.c: _cgo_defun.c
_cgo_gotypes.go _cgo_export.c _cgo_export.h: _cgo_defun.c
@true
%.cgo1.go %.cgo2.c: _cgo_defun.c
@true
%.cgo2.o: %.cgo2.c