mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #136251 from lovesegfault/zfs-fix-configure
linuxPackages.zfs: fix m4 script when not using GCC
This commit is contained in:
commit
03f44bd225
@ -47,6 +47,11 @@ let
|
||||
|
||||
postPatch = optionalString buildKernel ''
|
||||
patchShebangs scripts
|
||||
|
||||
# https://github.com/openzfs/zfs/issues/10107
|
||||
substituteInPlace ./config/kernel.m4 \
|
||||
--replace "make modules" "make CC=$CC modules"
|
||||
|
||||
# The arrays must remain the same length, so we repeat a flag that is
|
||||
# already part of the command and therefore has no effect.
|
||||
substituteInPlace ./module/os/linux/zfs/zfs_ctldir.c \
|
||||
|
Loading…
Reference in New Issue
Block a user