Skip to content

Commit d7daf57

Browse files
committed
manually resolve complaint in CUDA 9
1 parent e99edb2 commit d7daf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ $(OUTPUT_DIR)/$(BINARY): $(OBJS)
246246
$(CC) $(INCLUDEDIRS) $(CPPOPT) -c -o $@ $<
247247

248248
mcx_mie$(OBJSUFFIX): mcx_mie.cpp
249-
$(CC) $(INCLUDEDIRS) -c -o mcx_mie$(OBJSUFFIX) $<
249+
$(CC) $(INCLUDEDIRS) -g -Wall -m64 -fPIC -c -o mcx_mie$(OBJSUFFIX) $<
250250

251251
mcx_bench$(OBJSUFFIX): mcx_bench.c
252252
$(GCC) $(INCLUDEDIRS) -c -o mcx_bench$(OBJSUFFIX) $<

0 commit comments

Comments
 (0)