rt-tests: add cross compilation support

This commit is contained in:
wheatfox
2025-04-24 12:15:34 +08:00
committed by wheatfox
parent 507b63021a
commit 4387e23ef3
+2
View File
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
"prefix=$(out)"
"DESTDIR="
"PYLIB=$(out)/${python3.sitePackages}"
"CC=${stdenv.cc.targetPrefix}cc"
"AR=${stdenv.cc.bintools.targetPrefix}ar"
];
postInstall = ''