macopix: fix compilation with -std=gnu99

Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
This commit is contained in:
Lisanna Dettwyler
2026-05-22 09:42:30 -04:00
parent 8651b53717
commit b70649e949
+1 -1
View File
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
# Workaround build failure on -fno-common toolchains:
# ld: dnd.o:src/main.h:136: multiple definition of
# `MENU_EXT'; main.o:src/main.h:136: first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
NIX_CFLAGS_COMPILE = "-fcommon -std=gnu99";
NIX_LDFLAGS = "-lX11";
};