mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Added support for building garbled binaries (https://github.com/burrowers/garble.git)
This commit is contained in:
parent
a4af720280
commit
ee19787b5e
7 changed files with 51 additions and 6 deletions
10
Makefile
10
Makefile
|
@ -10,6 +10,14 @@ else
|
|||
MTAG="-m"
|
||||
endif
|
||||
|
||||
# If available, one may build 'garbled' binaries
|
||||
# See https://github.com/burrowers/garble.git
|
||||
ifeq ($(GARBLE),y)
|
||||
GO=garble -literals -tiny -debugdir=garbled
|
||||
else
|
||||
GO=go
|
||||
endif
|
||||
|
||||
ifneq ($(VENDOR),)
|
||||
GOBUILDOPTS :=-v -mod vendor
|
||||
VTAG = "-v"
|
||||
|
@ -63,7 +71,7 @@ tools:
|
|||
|
||||
|
||||
common:
|
||||
go build .
|
||||
$(GO) build .
|
||||
go install .
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue