mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
harfbuzz-icu: disable error for cast-align
This commit is contained in:
parent
9001a4eb62
commit
ad2585e350
@ -23,6 +23,10 @@ stdenv.mkDerivation {
|
||||
postPatch = ''
|
||||
patchShebangs src/gen-def.py
|
||||
patchShebangs test
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
# ApplicationServices.framework headers have cast-align warnings.
|
||||
substituteInPlace src/hb.hh \
|
||||
--replace '#pragma GCC diagnostic error "-Wcast-align"' ""
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
Loading…
Reference in New Issue
Block a user