diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-17 20:09:33 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-17 20:09:33 -0400 |
commit | 4d12729aa4026229e4e118b924cc3b1c75ca214b (patch) | |
tree | abd9a69ec11504844148b1017f9e9601ef7e90b8 /build-aux/Makefile.once.head | |
parent | 4f175a22cf726bfa09652d8d9ca6374785561348 (diff) |
write setuid, move things around
Diffstat (limited to 'build-aux/Makefile.once.head')
-rw-r--r-- | build-aux/Makefile.once.head/20-golang.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/Makefile.once.head/20-golang.mk b/build-aux/Makefile.once.head/20-golang.mk index 8d10a47..8e3835e 100644 --- a/build-aux/Makefile.once.head/20-golang.mk +++ b/build-aux/Makefile.once.head/20-golang.mk @@ -21,7 +21,8 @@ $(foreach v,$(_golang.cgo_variables),$(eval $v ?=)) export $(_golang.cgo_variables) _golang.src_cmd = find -L $1/src -name '.*' -prune -o \( -type f \( -false $(foreach e,go c s S cc cpp cxx h hh hpp hxx,-o -name '*.$e') \) -o -type d \) -print -golang.src = $(shell $(_golang.src_cmd)) $(addprefix $(var),$(_golang.cgo_variables)) +golang.src = $1/src $(shell $(_golang.src_cmd) 2>/dev/null) +golang.var = $(addprefix $(var),$(_golang.cgo_variables)) define golang.install GOPATH='$(abspath $1)' go install $(golang.FLAGS) $2 |