Permalink
Browse files

cuda: added -lrt link option to Makefile

  • Loading branch information...
shinpei0208 committed Jun 28, 2013
1 parent c3ebc5a commit 52de39d10af76f69ac8846a1640c851ef1e36303
Showing with 1 addition and 1 deletion.
  1. +1 −1 cuda/libucuda/Makefile
View
@@ -5,7 +5,7 @@ TARGET = libucuda
CUDUMP = cudump
GDEVDIR = /usr/local/gdev
CFLAGS = -O3 -Wall -I $(GDEVDIR)/include
-LDFLAGS = -L $(GDEVDIR)/lib64 -lgdev -Wl,-Bsymbolic
+LDFLAGS = -L $(GDEVDIR)/lib64 -lgdev -lrt -Wl,-Bsymbolic
#OBJS = $(patsubst %.c,%.o,$(wildcard ./*.c))
OBJS = init.o device.o version.o context.o module.o execution.o memory.o stream.o ipc.o event.o gdev_cuda.o

0 comments on commit 52de39d

Please sign in to comment.