Merge pull request #200711 from Artturin/xorgfixfailures
xorg.imake,xorg.xdm: fix cross
This commit is contained in:
commit
6d7adea228
1 changed files with 7 additions and 0 deletions
|
@ -68,6 +68,8 @@ self: super:
|
|||
then "${tradcpp}/bin/cpp"
|
||||
else "gcc"}\"'";
|
||||
|
||||
configureFlags = attrs.configureFlags or [] ++ [ "ac_cv_path_RAWCPP=${stdenv.cc.targetPrefix}cpp" ];
|
||||
|
||||
inherit tradcpp;
|
||||
});
|
||||
|
||||
|
@ -151,6 +153,11 @@ self: super:
|
|||
|
||||
xdm = super.xdm.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ libxcrypt ];
|
||||
configureFlags = attrs.configureFlags or [] ++ [
|
||||
"ac_cv_path_RAWCPP=${stdenv.cc.targetPrefix}cpp"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform)
|
||||
# checking for /dev/urandom... configure: error: cannot check for file existence when cross compiling
|
||||
[ "ac_cv_file__dev_urandom=true" "ac_cv_file__dev_random=true" ];
|
||||
});
|
||||
|
||||
# Propagate some build inputs because of header file dependencies.
|
||||
|
|
Loading…
Reference in a new issue