3
0
Fork 0
forked from mirrors/nixpkgs

harfbuzz-icu: disable error for cast-align

This commit is contained in:
Matthew Bauer 2019-02-23 23:26:54 -05:00
parent 9001a4eb62
commit ad2585e350

View file

@ -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" ];