summaryrefslogtreecommitdiff
path: root/go/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-09-05 19:50:07 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-09-05 20:07:48 -0700
commit8b3ffc23b6cbe42d2eac5a3c0d970fd26472a246 (patch)
tree54932fb39f39721eaf33585f9e57d11fa6a59aba /go/Makefile
parentf223de46154a3d2644914ea358d5c69b36770459 (diff)
downloadlibcap2-8b3ffc23b6cbe42d2eac5a3c0d970fd26472a246.tar.gz
Fixed parallel make issues
Tried make -j12 and these fixes were needed. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/Makefile b/go/Makefile
index 2b2061b..3f192cd 100644
--- a/go/Makefile
+++ b/go/Makefile
@@ -94,7 +94,7 @@ endif
b210613: b210613.go CAPGOPACKAGE
CC="$(CC)" CGO_ENABLED="$(CGO_REQUIRED)" $(CGO_LDFLAGS_ALLOW) CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) build -mod=vendor $<
-test: all $(TESTS)
+test: setid gowns captree $(TESTS)
CC="$(CC)" CGO_ENABLED="$(CGO_REQUIRED)" $(CGO_LDFLAGS_ALLOW) $(GO) test -mod=vendor $(IMPORTDIR)/psx
CC="$(CC)" CGO_ENABLED="$(CGO_REQUIRED)" $(CGO_LDFLAGS_ALLOW) $(GO) test -mod=vendor $(IMPORTDIR)/cap
LD_LIBRARY_PATH=../libcap ./compare-cap