diff --git a/src/Make.pkg b/src/Make.pkg index 0ffab729454..41124c828a6 100644 --- a/src/Make.pkg +++ b/src/Make.pkg @@ -113,8 +113,8 @@ dir: ifdef CGOFILES _cgo_run: $(CGOFILES) - @touch _cgo_run CGOPKGPATH=$(dir) cgo -- $(CGO_CFLAGS) $(CGOFILES) + touch _cgo_run # _CGO_CFLAGS and _CGO_LDFLAGS are defined via the evaluation of _cgo_flags. # The include happens before the commands in the recipe run,