macopix: fix compilation with -std=gnu99 (#523041)

This commit is contained in:
Yohann Boniface
2026-05-23 17:10:58 +00:00
committed by GitHub
+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";
};