3
0
Fork 0
forked from mirrors/nixpkgs

pkgsStatic.gcc: fix build

LTO requires building a compiler plugin, which is a shared object.

The closure is a bit wild but it builds and can compile programs.
This commit is contained in:
Alyssa Ross 2022-03-14 17:36:05 +00:00
parent 5dbd4b2b27
commit cb040db7ab
8 changed files with 8 additions and 8 deletions

View file

@ -14,7 +14,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -14,7 +14,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -14,7 +14,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -14,7 +14,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -15,7 +15,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, flex , flex
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java

View file

@ -13,7 +13,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -13,7 +13,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf

View file

@ -15,7 +15,7 @@
# we can't rebuild those without also rebuilding the compiler itself, # we can't rebuild those without also rebuilding the compiler itself,
# we opt to always build everything unlike our usual policy. # we opt to always build everything unlike our usual policy.
enableShared ? true enableShared ? true
, enableLTO ? true , enableLTO ? !stdenv.hostPlatform.isStatic
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which, patchelf , gmp, mpfr, libmpc, gettext, which, patchelf