Skip to content

Commit

Permalink
Makefile.im: pass @defs@ to CUDA_FLAGS
Browse files Browse the repository at this point in the history
It contains (at least) -DHAVE_CONFIG_H defined by autoconf, which should
be passed.
  • Loading branch information
MartinPulec committed Mar 4, 2024
1 parent aa42b46 commit 745edca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 745edca

Please sign in to comment.