mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Merge pull request #176446 from trofi/workaround-fno-common-for-lilo
lilo: add -fcommon workaround
This commit is contained in:
commit
7b330cb215
|
@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-4VjxneRWDJNevgUHwht5v/F2GLkjDYB2/oxf/5/b1bE=";
|
||||
};
|
||||
nativeBuildInputs = [ dev86 sharutils ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: identify.o:(.bss+0x0): multiple definition of `identify';
|
||||
# common.o:(.bss+0x160): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=${placeholder "out"}"
|
||||
"SBIN_DIR=/bin"
|
||||
|
|
Loading…
Reference in a new issue