harfbuzz-icu: disable error for cast-align
This commit is contained in:
parent
9001a4eb62
commit
ad2585e350
@ -23,6 +23,10 @@ stdenv.mkDerivation {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs src/gen-def.py
|
patchShebangs src/gen-def.py
|
||||||
patchShebangs test
|
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" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user