We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f34fd84 + b1db456 commit 24d53cfCopy full SHA for 24d53cf
Makefile
@@ -29,7 +29,9 @@ BUILTIN_LD_FLAGS += -w
29
endif
30
# EXTRA_LD_FLAGS are given by the caller, and are passed to the Go linker after
31
# BUILTIN_LD_FLAGS are processed. By default the system LDFLAGS are passed.
32
+ifdef LDFLAGS
33
EXTRA_LD_FLAGS ?= -extldflags ${LDFLAGS}
34
+endif
35
# LD_FLAGS is the union of the above two BUILTIN_LD_FLAGS and EXTRA_LD_FLAGS.
36
LD_FLAGS = $(BUILTIN_LD_FLAGS) $(EXTRA_LD_FLAGS)
37
0 commit comments