mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-27 03:46:19 +08:00
Makefile: fix typo in LDFLAGS_STATIC
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -36,7 +36,7 @@ LDFLAGS_STATIC := -extldflags -static
|
||||
ifneq (,$(filter $(GOARCH),arm64 amd64))
|
||||
ifeq (,$(findstring -race,$(EXTRA_FLAGS)))
|
||||
GO_BUILDMODE_STATIC := -buildmode=pie
|
||||
LDFLAGS_STATIC := -linkmode external -extldflags --static-pie
|
||||
LDFLAGS_STATIC := -linkmode external -extldflags -static-pie
|
||||
endif
|
||||
endif
|
||||
# Enable static PIE binaries on supported platforms.
|
||||
|
Reference in New Issue
Block a user