stress-ng: workaround kernel header SNAFU re:sysinfo, fix w/musl
This commit is contained in:
parent
3eb894e55b
commit
31be449657
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace Makefile --replace "/usr" ""
|
substituteInPlace Makefile --replace "/usr" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.hostPlatform.isMusl "-D_LINUX_SYSINFO_H=1";
|
||||||
|
|
||||||
# Won't build on i686 because the binary will be linked again in the
|
# Won't build on i686 because the binary will be linked again in the
|
||||||
# install phase without checking the dependencies. This will prevent
|
# install phase without checking the dependencies. This will prevent
|
||||||
# triggering the rebuild. Why this only happens on i686 remains a
|
# triggering the rebuild. Why this only happens on i686 remains a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user