Fix build on RHEL7 with GCC 4.8

Add -std=c++11 to CXXFLAGS.
Fixes #116.
Tento commit je obsažen v:
Sylvain Jeaugey committed 2022-10-12 01:24:14 -07:00
1 rodič d313d20a26
revize 365b92a1ea
1 file changed
+1
+1
Zobrazit soubor
@@ -35,6 +35,7 @@ NVCC_GENCODE ?= -gencode=arch=compute_35,code=sm_35 \
endif
NVCUFLAGS := -ccbin $(CXX) $(NVCC_GENCODE) -std=c++11
CXXFLAGS := -std=c++11
LDFLAGS := -L${CUDA_LIB} -lcudart -lrt
NVLDFLAGS := -L${CUDA_LIB} -l${CUDARTLIB} -lrt