File tree 1 file changed +9
-0
lines changed
pkgs/desktops/gnome-2/platform/ORBit2
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,15 @@ stdenv.mkDerivation rec {
38
38
"dev"
39
39
] ;
40
40
41
+ env . NIX_CFLAGS_COMPILE = toString (
42
+ lib . optionals ( stdenv . cc . isGNU && ( lib . versionAtLeast ( lib . getVersion stdenv . cc . cc ) "14" ) ) [
43
+ # the ./configure script is not compatible with gcc-14, not easy to
44
+ # regenerate without porting: https://github.com/NixOS/nixpkgs/issues/367694
45
+ "-Wno-error=implicit-int"
46
+ "-Wno-error=incompatible-pointer-types"
47
+ ]
48
+ ) ;
49
+
41
50
configureFlags = lib . optionals ( stdenv . buildPlatform != stdenv . hostPlatform ) [
42
51
"--with-idl-compiler=${ lib . getExe' buildPackages . gnome2 . ORBit2 "orbit-idl-2" } "
43
52
# https://github.com/void-linux/void-packages/blob/e5856e02aa6ef7e4f2725afbff2915f89d39024b/srcpkgs/ORBit2/template#L17-L35
You can’t perform that action at this time.
0 commit comments