neuron: fix issue with assignment operator during build (#22278)
This commit is contained in:
parent
a4fbaf2f89
commit
222666e400
@ -103,7 +103,12 @@ def filter_compilers(self):
|
||||
nrnmech_makefile = join_path(self.prefix,
|
||||
"./bin/nrnmech_makefile")
|
||||
|
||||
assign_operator = "?="
|
||||
# assign_operator is changed to fix wheel support
|
||||
if self.spec.satisfies("@:7.99"):
|
||||
assign_operator = "?="
|
||||
else:
|
||||
assign_operator = "="
|
||||
|
||||
filter_file("CC {0} {1}".format(assign_operator, env["CC"]),
|
||||
"CC = {0}".format(cc_compiler),
|
||||
nrnmech_makefile,
|
||||
|
Loading…
Reference in New Issue
Block a user