pythonPackages.cocotb: fix build on darwin
This commit is contained in:
parent
6407a35d37
commit
2924904d95
@ -24,6 +24,9 @@ buildPythonPackage rec {
|
|||||||
cocotb/share/makefiles/simulators/Makefile.*
|
cocotb/share/makefiles/simulators/Makefile.*
|
||||||
do
|
do
|
||||||
substituteInPlace $f --replace 'shell which' 'shell command -v'
|
substituteInPlace $f --replace 'shell which' 'shell command -v'
|
||||||
|
# replace hardcoded gcc. Remove once https://github.com/cocotb/cocotb/pull/1137 gets merged
|
||||||
|
substituteInPlace $f --replace 'gcc' '$(CC)'
|
||||||
|
substituteInPlace $f --replace 'g++' '$(CXX)'
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user