macopix: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -32,12 +32,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# 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
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
NIX_LDFLAGS = "-lX11";
|
||||
env = {
|
||||
# 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_LDFLAGS = "-lX11";
|
||||
};
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
|
||||
Reference in New Issue
Block a user