3
0
Fork 0
forked from mirrors/nixpkgs

gnome_mplayer: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    ld: mpris-interface.o:src/playlist.h:32: multiple definition of
      `plclose'; gui.o:src/playlist.h:32: first defined here
This commit is contained in:
Sergei Trofimovich 2022-06-09 22:09:15 +01:00
parent fdf46783c7
commit 045b2473c1

View file

@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
})
];
# Workaround build failure on -fno-common toolchains:
# ld: mpris-interface.o:src/playlist.h:32: multiple definition of
# `plclose'; gui.o:src/playlist.h:32: first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
meta = with lib; {
description = "Gnome MPlayer, a simple GUI for MPlayer";
homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer";