We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d866ec commit 3293e91Copy full SHA for 3293e91
contracts/c-sphincs-all-in-one-lock/Makefile
@@ -50,7 +50,11 @@ CFLAGS += --target=riscv64 -march=rv64imc_zba_zbb_zbc_zbs \
50
CFLAGS += -I $(SPHINCS_PLUS_DIR) -I $(CUR_BUILD) -I $(cur_dir)/utils
51
# CFLAGS += -DCKB_C_STDLIB_PRINTF
52
53
-LDFLAGS := -static -Wl,--gc-sections
+OS := $(shell uname -s)
54
+LDFLAGS :=
55
+if neq($(OS),Darwin)
56
+ LDFLAGS += -static -Wl,--gc-sections
57
+endif
58
59
default: build
60
0 commit comments