summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-11-18 01:21:30 -0800
committerAdam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>2023-12-07 09:11:37 +0000
commit8df1400e1d2ad4ceb19ab1af4b8de04fa469a865 (patch)
tree74bff1db400732583823eb885a80879653da03bc
parent929e6d3620a857438cb20032bb3346b0bb7e635a (diff)
libgcc: pass --disable-plugins
This is needed for gcc13 on many platforms due to errors like: ``` checking for library containing dlopen... (cached) none required checking for -fPIC -shared... yes configure: error: Building GCC with plugin support requires a host that supports -fPIC, -shared, -ldl and -rdynamic. ```
-rw-r--r--pkgs/development/libraries/gcc/libgcc/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gcc/libgcc/default.nix b/pkgs/development/libraries/gcc/libgcc/default.nix
index c168113fa3c4..600ca69f46d0 100644
--- a/pkgs/development/libraries/gcc/libgcc/default.nix
+++ b/pkgs/development/libraries/gcc/libgcc/default.nix
@@ -10,6 +10,7 @@ let
"--disable-intl"
"--enable-threads=posix"
"--with-glibc-version=${glibc.version}"
+ "--disable-plugin"
# these are required in order to prevent inhibit_libc=true,
# which will cripple libgcc's unwinder; see:
.txt
blob: 87c46a0ac5c276da2f103fdeb281fab86ab192ba (plain)
1
2
3
4