mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
fb106ee08b
On vanilla gcc-10 (and gcc-9 -fno-common) build fails as: ``` ../libtool --tag=CC --mode=link gcc ... -o libomxil-bellagio.la ... ld: .libs/libomxil_bellagio_la-omx_reference_resource_manager.o:(.bss+0x18): multiple definition of `globalIndex'; .libs/libomxil_bellagio_la-st_static_component_loader.o:(.bss+0x358): first defined here ``` Upstream gcc-10 changed the default from -fcommon to fno-common: https://gcc.gnu.org/PR85678. The error also happens if CFLAGS=-fno-common passed explicitly. |
||
---|---|---|
.. | ||
default.nix | ||
fedora-fixes.patch | ||
fno-common.patch |