From 765fb311a1c37d1edbd75c642d3fade27ffb9fb2 Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Tue, 23 Nov 2021 10:00:24 -0800 Subject: [PATCH] Pass GPU_CFLAGS to CUDA linker --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 055f5fe..6b7ff63 100644 --- a/src/Makefile +++ b/src/Makefile @@ -135,7 +135,7 @@ $V/crypt-dlink.o: $(CPU_GPU_OBJS) $(NVCC) -Xcompiler "-fPIC" $(CFLAGS) --device-link $^ --output-file $@ $V/lib$(LIB).so: $V/crypt-dlink.o $(CPU_GPU_OBJS) - $(NVCC) -Xcompiler "-fPIC" --shared --output-file $@ $^ + $(NVCC) -Xcompiler "-fPIC" $(GPU_CFLAGS) --shared --output-file $@ $^ $V/ecc_main.o: $(addprefix $(ECC_DIR)/,main.cu ed25519.h) @mkdir -p $(@D)