Skip to content

Commit

Permalink
Merge pull request #3470 from vitaliy-io/fix-ld-flags-in-makefile
Browse files Browse the repository at this point in the history
Fix ld flags in Makefile
  • Loading branch information
jorgemmsilva authored Jul 16, 2024
2 parents 14468d1 + 3bbfb23 commit 6c3e868
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
GIT_REF_TAG := $(shell git describe --tags)
BUILD_TAGS = rocksdb
ifdef OS
# windows
BUILD_LD_FLAGS = "-X=github.com/iotaledger/wasp/components/app.Version=$(GIT_REF_TAG)"
else
ifeq ($(shell uname -m), arm64)
BUILD_LD_FLAGS = "-X=github.com/iotaledger/wasp/components/app.Version=$(GIT_REF_TAG) -extldflags \"-Wa,--noexecstack\""
else
BUILD_LD_FLAGS = "-X=github.com/iotaledger/wasp/components/app.Version=$(GIT_REF_TAG) -extldflags \"-z noexecstack\""
endif
endif
DOCKER_BUILD_ARGS = # E.g. make docker-build "DOCKER_BUILD_ARGS=--tag wasp:devel"

#
Expand Down

0 comments on commit 6c3e868

Please sign in to comment.