pantheon.elementary-settings-daemon: add cflag G_DISABLE_CAST_CHECKS

Mirror c7c727fa93.
This commit is contained in:
worldofpeace 2019-08-04 09:50:13 -04:00
parent c7c727fa93
commit 3b085b45b9

View file

@ -150,6 +150,12 @@ stdenv.mkDerivation rec {
"-Dudev_dir=${placeholder "out"}/lib/udev"
];
NIX_CFLAGS_COMPILE = [
# Default for release buildtype but passed manually because
# we're using plain
"-DG_DISABLE_CAST_CHECKS"
];
passthru = {
updateScript = gnome3.updateScript {
packageName = projectName;