Merge pull request #330266 from ExpidusOS/fix/pkgsllvm/graphite2
graphite2: fix compiling with llvm
This commit is contained in:
commit
7f9ed2e65a
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, llvmPackages
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, freetype
|
||||
@ -20,7 +21,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ freetype ];
|
||||
buildInputs = [ freetype ]
|
||||
++ lib.optional (stdenv.targetPlatform.useLLVM or false)
|
||||
(llvmPackages.compiler-rt.override {
|
||||
doFakeLibgcc = true;
|
||||
});
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user