Merge pull request #3444 from Foxboron/foxboron/fix-makefile-reproducible

Makefile additions for reproducible builds and asmflags
This commit is contained in:
Taylor Blau 2019-01-25 18:09:14 -08:00 committed by GitHub
commit 3473b85482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,8 +28,8 @@ BUILTIN_LD_FLAGS += -s
BUILTIN_LD_FLAGS += -w
endif
# EXTRA_LD_FLAGS are given by the caller, and are passed to the Go linker after
# BUILTIN_LD_FLAGS are processed.
EXTRA_LD_FLAGS =
# BUILTIN_LD_FLAGS are processed. By default the system LDFLAGS are passed.
EXTRA_LD_FLAGS ?= -extldflags ${LDFLAGS}
# LD_FLAGS is the union of the above two BUILTIN_LD_FLAGS and EXTRA_LD_FLAGS.
LD_FLAGS = $(BUILTIN_LD_FLAGS) $(EXTRA_LD_FLAGS)