From 745edca768f139bb80d9cc8f3592888f7ce8321a Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 1 Mar 2024 11:43:48 +0100 Subject: [PATCH] Makefile.im: pass @DEFS@ to CUDA_FLAGS It contains (at least) -DHAVE_CONFIG_H defined by autoconf, which should be passed. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 2aaa6ca59..362b4e0a3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -28,7 +28,7 @@ CPPFLAGS = @CPPFLAGS@ -D_GNU_SOURCE CXXFLAGS_ORIG := $(CXXFLAGS) CXXFLAGS = @CXXFLAGS@ $(COMMON_FLAGS) -D_GNU_SOURCE MKDIR_P = $(COND_SILENCE)mkdir -p -CUDA_FLAGS = @CUDA_FLAGS@ @CUDA_COMPUTE_ARGS@ +CUDA_FLAGS = @CUDA_FLAGS@ @CUDA_COMPUTE_ARGS@ @DEFS@ LDFLAGS = @LDFLAGS@ LIBS += @LIBS@ @MATHLIBS@ -lm -pthread INC = -Isrc -I$(srcdir)/src -I$(srcdir)/test \