glib: add cflag G_DISABLE_CAST_CHECKS
This is what would have been passed before with the release buildtype. See: https://gitlab.gnome.org/GNOME/glib/blob/2.60.4/meson.build#L208
This commit is contained in:
parent
27a71a19ed
commit
60266eb504
@ -98,8 +98,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = (optional stdenv.isSunOS "-DBSD_COMP")
|
NIX_CFLAGS_COMPILE = [
|
||||||
++ [ "-Wno-error=nonnull" ];
|
"-Wno-error=nonnull"
|
||||||
|
# Default for release buildtype but passed manually because
|
||||||
|
# we're using plain
|
||||||
|
"-DG_DISABLE_CAST_CHECKS"
|
||||||
|
] ++ optional stdenv.isSunOS "-DBSD_COMP";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# substitute fix-gio-launch-desktop-path.patch
|
# substitute fix-gio-launch-desktop-path.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user