diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-11-18 01:21:30 -0800 |
---|---|---|
committer | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-12-07 09:11:37 +0000 |
commit | 8df1400e1d2ad4ceb19ab1af4b8de04fa469a865 (patch) | |
tree | 74bff1db400732583823eb885a80879653da03bc | |
parent | 929e6d3620a857438cb20032bb3346b0bb7e635a (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.nix | 1 |
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: |