diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-06-15 06:51:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 06:51:50 +0000 |
commit | 39f0317f03eae1763075b0b676de78b6da4de87d (patch) | |
tree | 5fa75f6596b80010478982f4af54bbde5b6ea5e6 /pkgs/applications/graphics/gimp/plugins/default.nix | |
parent | fc3a4daf19723e631d3421024381ddbde914fa46 (diff) | |
parent | 6fd94e99329b6f4caa519f8a6fe0e36dc9642bf5 (diff) |
Merge pull request #176940 from trofi/workaround-fno-common-for-gimpPlugins.waveletSharpen
gimpPlugins.waveletSharpen: add -fcommon workaround
Diffstat (limited to 'pkgs/applications/graphics/gimp/plugins/default.nix')
-rw-r--r-- | pkgs/applications/graphics/gimp/plugins/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 62875ceac3fa7..ae44b47643cd6 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -229,6 +229,10 @@ in Filters/Enhance/Wavelet sharpen */ name = "wavelet-sharpen-0.1.2"; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. Otherwise build fails as: + # ld: interface.o:(.bss+0xe0): multiple definition of `fimg'; plugin.o:(.bss+0x40): first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; NIX_LDFLAGS = "-lm"; src = fetchurl { url = "https://github.com/pixlsus/registry.gimp.org_static/raw/master/registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz"; |