]> Cypherpunks repositories - gostls13.git/commitdiff
build: work with GNU Make 3.82
authorJukka-Pekka Kekkonen <karatepekka@gmail.com>
Tue, 7 Sep 2010 19:14:14 +0000 (15:14 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 7 Sep 2010 19:14:14 +0000 (15:14 -0400)
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

src/Make.pkg

index 4c464497a0282bf78c8f979462336debe19a218c..6c1ac7a87211c6c106f68179582cb53f6504ced7 100644 (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