treewide: fixup breakage due to absolute compiler path
Some packages just can't handle them #44767. It was tempting to try to abstract this in some way, but I didn't do that ATM.
This commit is contained in:
@@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
CC=${stdenv.cc.targetPrefix}cc
|
||||
CXX=${stdenv.cc.targetPrefix}c++
|
||||
'';
|
||||
|
||||
configureFlags = [ "--without-kernel-modules" "--without-xmlsecurity" ]
|
||||
++ lib.optional (!withX) "--without-x";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user