mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-03 15:25:45 +00:00
fix linking
This commit is contained in:
parent
479e4b95fe
commit
1e02e7c81f
2
Makefile
2
Makefile
@ -177,8 +177,6 @@ ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS)))
|
|||||||
ldflags += -w -s
|
ldflags += -w -s
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(info The value of LINK_STATICALLY is: $(LINK_STATICALLY))
|
|
||||||
|
|
||||||
ifeq ($(LINK_STATICALLY),true)
|
ifeq ($(LINK_STATICALLY),true)
|
||||||
ldflags += -linkmode=external -extldflags "-Wl,-z,muldefs -static -lm"
|
ldflags += -linkmode=external -extldflags "-Wl,-z,muldefs -static -lm"
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user