Merge pull request #177091 from trofi/workaround-fno-common-for-gnome_mplayer

gnome_mplayer: add -fcommon workaround
This commit is contained in:
Sergei Trofimovich 2022-06-15 06:55:50 +00:00 committed by GitHub
commit f9ee9236dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";