Skip to content

Commit c22b1ae

Browse files
committed
make - strip whitespace
1 parent 518f111 commit c22b1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ CFLAGS ?= $(OPT) $(CFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
171171
CXXFLAGS ?= $(OPT) $(CXXFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
172172
FFLAGS ?= $(OPT) $(FFLAGS.$(FC_VENDOR))
173173
LIBCXX ?= -lstdc++
174-
NVCCFLAGS ?= -ccbin $(CXX) -Xcompiler '$(OPT)' -Xcompiler -fPIC
174+
NVCCFLAGS ?= -ccbin $(CXX) -Xcompiler '$(strip $(OPT))' -Xcompiler -fPIC
175175
ifneq ($(CUDA_ARCH),)
176176
NVCCFLAGS += -arch=$(CUDA_ARCH)
177177
endif

0 commit comments

Comments
 (0)