Merge pull request #330289 from ExpidusOS/fix/pkgsllvm/xorg/libxt
xorg.libXt: fix cpp usage under llvm
This commit is contained in:
commit
985dbac93e
@ -255,7 +255,8 @@ self: super:
|
||||
sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
|
||||
'';
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ malloc0ReturnsNullCrossFlag;
|
||||
++ malloc0ReturnsNullCrossFlag
|
||||
++ lib.optional (stdenv.targetPlatform.useLLVM or false) "ac_cv_path_RAWCPP=cpp";
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libSM ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
CPP = if stdenv.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -";
|
||||
|
Loading…
Reference in New Issue
Block a user