fix linking

This commit is contained in:
0g-wh 2024-08-05 16:45:58 +08:00
parent 479e4b95fe
commit 1e02e7c81f

View File

@ -177,8 +177,6 @@ ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS)))
ldflags += -w -s
endif
$(info The value of LINK_STATICALLY is: $(LINK_STATICALLY))
ifeq ($(LINK_STATICALLY),true)
ldflags += -linkmode=external -extldflags "-Wl,-z,muldefs -static -lm"
endif