Merge pull request #65850 from worldofpeace/bye-g-disable-checks
glib,gtk: correct CLAGS for plain buildtype
This commit is contained in:
commit
a2253f442d
@ -95,6 +95,12 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dudev_dir=${placeholder "out"}/lib/udev"
|
"-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"
|
||||||
|
];
|
||||||
|
|
||||||
# So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper
|
# So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
mkdir -p $out/bin/gnome-settings-daemon
|
mkdir -p $out/bin/gnome-settings-daemon
|
||||||
|
@ -150,6 +150,12 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dudev_dir=${placeholder "out"}/lib/udev"
|
"-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 = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = projectName;
|
packageName = projectName;
|
||||||
|
@ -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"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# substitute fix-gio-launch-desktop-path.patch
|
# substitute fix-gio-launch-desktop-path.patch
|
||||||
|
@ -77,6 +77,13 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dtests=false"
|
"-Dtests=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# These are the defines that'd you'd get with --enable-debug=minimum (default).
|
||||||
|
# See: https://developer.gnome.org/gtk3/stable/gtk-building.html#extra-configuration-options
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-DG_ENABLE_DEBUG"
|
||||||
|
"-DG_DISABLE_CAST_CHECKS"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
files=(
|
files=(
|
||||||
build-aux/meson/post-install.py
|
build-aux/meson/post-install.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user