tinyfugue: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: world.o:/build/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/build/tf-50b8/src/socket.h:24: first defined here
This commit is contained in:
parent
59df0efd22
commit
ba16b79ddf
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
|
|||
[ ncurses zlib ]
|
||||
++ optional sslSupport openssl;
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: world.o:/build/tf-50b8/src/socket.h:24: multiple definition of
|
||||
# `world_decl'; command.o:/build/tf-50b8/src/socket.h:24: first defined here
|
||||
NIX_CFLAGS_COMPILE="-fcommon";
|
||||
|
||||
meta = {
|
||||
homepage = "http://tinyfugue.sourceforge.net/";
|
||||
description = "A terminal UI, screen-oriented MUD client";
|
||||
|
|
Loading…
Reference in a new issue