mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
linuxPackages.zfs: fix m4 script when not using GCC
This commit is contained in:
parent
6f28a718e5
commit
5280cdee8d
@ -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