Skip to content

Commit

Permalink
Merge pull request #4997 from jackchenjc/issue-4916-4
Browse files Browse the repository at this point in the history
fix: Make variable usage consistent in Makefile
  • Loading branch information
cloudxxx8 authored Nov 8, 2024
2 parents dd1d518 + ce2b774 commit 94f98a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ INCLUDE_DELAYED_START_BUILD_CORE:="false"
INCLUDE_DELAYED_START_BUILD_SUPPORT:="true"

# change the following boolean flag to enable or disable the Full RELRO (RELocation Read Only) for linux ELF (Executable and Linkable Format) binaries
ENABLE_FULL_RELRO:="true"
ENABLE_FULL_RELRO=true
# change the following boolean flag to enable or disable PIE for linux binaries which is needed for ASLR (Address Space Layout Randomization) on Linux, the ASLR support on Windows is enabled by default
ENABLE_PIE:="true"
ENABLE_PIE=true

GO=go

Expand Down Expand Up @@ -67,7 +67,7 @@ endif
GOFLAGS=-ldflags "-s -w -X github.com/edgexfoundry/edgex-go.Version=$(VERSION) $(ENABLE_FULL_RELRO_GOFLAGS)" -trimpath -mod=readonly
GOTESTFLAGS?=-race

ifeq ($(ENABLE_PIE), "true")
ifeq ($(ENABLE_PIE), true)
GOFLAGS += -buildmode=pie
endif

Expand Down

0 comments on commit 94f98a2

Please sign in to comment.