Revert "linuxPackages.zfs: fix m4 script when not using GCC"

This reverts commit 5280cdee8d.
This commit is contained in:
Bernardo Meurer 2021-09-02 01:25:45 -07:00
parent a12606bef4
commit ab1d85c0b1
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -55,11 +55,6 @@ 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 \