Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 2364d57

Browse files
authored
Fix default nmodl flags (#404)
1 parent 84d9f73 commit 2364d57

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

extra/nrnivmodl_core_makefile.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ C_GREEN := \033[32m
144144
# Default nmodl flags. Override if NMODL_RUNTIME_FLAGS is not empty
145145
NMODL_FLAGS_ISPC = $(if $(NMODL_RUNTIME_FLAGS),$(NMODL_RUNTIME_FLAGS),@nmodl_arguments_ispc@)
146146
NMODL_FLAGS_C = $(if $(NMODL_RUNTIME_FLAGS),$(NMODL_RUNTIME_FLAGS),@nmodl_arguments_c@)
147-
$(info Default nmodl flags: $(if $(@CORENRN_ENABLE_ISPC@ == ON), @nmodl_arguments_ispc@, @nmodl_arguments_c@))
147+
ifeq (@CORENRN_ENABLE_ISPC@, ON)
148+
$(info Default nmodl flags: @nmodl_arguments_ispc@)
149+
else
150+
$(info Default nmodl flags: @nmodl_arguments_c@)
151+
endif
148152
ifneq ($(NMODL_RUNTIME_FLAGS),)
149153
$(warning Runtime nmodl flags (they replace the default ones): $(NMODL_RUNTIME_FLAGS))
150154
endif

0 commit comments

Comments
 (0)