libgcc: configureFlags: minimize

A lot of these flags were unnecessary.
This commit is contained in:
Adam Joseph
2023-08-14 15:08:29 -07:00
parent da371c7c5a
commit fa0ebe80f1
@@ -128,15 +128,9 @@ in stdenvNoLibs.mkDerivation (finalAttrs: {
configurePlatforms = [ "build" "host" ];
configureFlags = [
"--disable-dependency-tracking"
# $CC cannot link binaries, let alone run then
"cross_compiling=true"
# Do not have dynamic linker without libc
"--enable-static"
"--disable-shared"
# Avoid dependency on gcc.
"--disable-gcov"
"--with-glibc-version=${glibc.version}"
];
makeFlags = [ "MULTIBUILDTOP:=../" ];