rpcsvc-proto: point to compiler-wrapper, instead of Spack dir
https://gitlab.spack.io/spack/spack/-/jobs/15003090
This commit is contained in:
parent
d4b5eb2be6
commit
660fff39eb
@ -2,7 +2,6 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import spack.paths
|
||||
from spack.package import *
|
||||
|
||||
|
||||
@ -35,6 +34,6 @@ def change_makefile(self):
|
||||
# Add 'cpp' path for rpcgen
|
||||
filter_file(
|
||||
"rpcgen/rpcgen",
|
||||
f"rpcgen/rpcgen -Y {spack.paths.spack_root}/lib/spack/env",
|
||||
f"rpcgen/rpcgen -Y {self['compiler-wrapper'].bin_dir()}",
|
||||
"rpcsvc/Makefile",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user