Skip to content

Commit 1706ef6

Browse files
committed
molden: fix GCC 14 build
1 parent 130595e commit 1706ef6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/mo/molden/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
2727

2828
patches = [ ./dont_register_file_types.patch ];
2929

30+
# fix build with GCC 14
31+
env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-mismatch";
32+
3033
postPatch = ''
3134
substituteInPlace ./makefile --replace '-L/usr/X11R6/lib' "" \
3235
--replace '-I/usr/X11R6/include' "" \

0 commit comments

Comments
 (0)