diff options
author | Adam Paszke <adam.paszke@gmail.com> | 2016-04-13 17:04:38 +0300 |
---|---|---|
committer | Adam Paszke <adam.paszke@gmail.com> | 2016-04-13 17:04:38 +0300 |
commit | c0c959b1be1dfc5868d40e2c60e05ad17d7abec2 (patch) | |
tree | 73be59dc0cd22f39152a912d2a637c1a6190788d /Makefile | |
parent | b16cc5d197a03ae2ef21c131a63805b36c15b2f5 (diff) |
Add --no-as-needed to make sure that cudart library gets liked
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ NVCUFLAGS += -Xptxas -v -Xcompiler -Wall,-Wextra CXXFLAGS += -Wall -Wextra endif -LDFLAGS := -L$(CUDA_HOME)/lib64 -lcudart +LDFLAGS := -Wl,--no-as-needed -L$(CUDA_HOME)/lib64 -lcudart MPIFLAGS := -I$(MPI_HOME)/include -L$(MPI_HOME)/lib -lmpi TSTINC := -Ibuild/include -Itest/include |