Merge pull request #172348 from markuskowa/fix-molden
molden: unbreak build, make compatible with gcc-10
This commit is contained in:
commit
fcfb2f1317
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ stdenv.mkDerivation rec {
|
|||
--replace '-I/usr/X11R6/include' "" \
|
||||
--replace '/usr/local/' $out/ \
|
||||
--replace 'sudo' "" \
|
||||
--replace '-C surf depend' '-C surf'
|
||||
--replace '-C surf depend' '-C surf' \
|
||||
--replace 'FFLAGS =' 'FFLAGS = -fallow-argument-mismatch'
|
||||
|
||||
substituteInPlace ambfor/makefile --replace 'FFLAGS =' 'FFLAGS = -fallow-argument-mismatch'
|
||||
|
||||
sed -in '/^# DO NOT DELETE THIS LINE/q;' surf/Makefile
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue