Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zistvan-public
StreamChain Prototype
Commits
37be9010
Commit
37be9010
authored
Jul 01, 2017
by
Christopher Ferris
Committed by
Gerrit Code Review
Jul 01, 2017
Browse files
Merge "[FAB-5114] Makefile fix for right version computation"
parents
ed381a92
65ffb7de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
37be9010
...
...
@@ -350,6 +350,8 @@ release/%/bin/orderer: $(PROJECT_FILES)
mkdir
-p
$
(
@D
)
$(CGO_FLAGS)
GOOS
=
$(GOOS)
GOARCH
=
$(GOARCH)
go build
-o
$(
abspath
$@
)
-tags
"
$(GO_TAGS)
"
-ldflags
"
$(GO_LDFLAGS)
"
$
(
pkgmap.
$
(
@F
))
release/%/bin/peer
:
GO_LDFLAGS = $(patsubst %
,
-X $(PKGNAME)/common/metadata.%
,
$(METADATA_VAR))
release/%/bin/peer
:
$(PROJECT_FILES)
@
echo
"Building
$@
for
$(GOOS)
-
$(GOARCH)
"
mkdir
-p
$
(
@D
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment