From 97aa876f2af4c3a3cb08bde9180e461d4ebc438a Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Mon, 1 Apr 2024 11:06:17 -0600 Subject: [PATCH] gcc13: disable LTO --- recipes/dev/gcc13/recipe.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/dev/gcc13/recipe.sh b/recipes/dev/gcc13/recipe.sh index 90cefc451..fef38205f 100644 --- a/recipes/dev/gcc13/recipe.sh +++ b/recipes/dev/gcc13/recipe.sh @@ -30,11 +30,13 @@ function recipe_build { --prefix=/ \ --with-sysroot=/ \ --with-build-sysroot="$sysroot" \ - --enable-static \ - --enable-shared \ + --with-static-standard-libraries \ --disable-dlopen \ + --disable-lto \ --disable-nls \ --enable-languages=c,c++ \ + --enable-shared \ + --enable-static \ --enable-threads=posix "$REDOX_MAKE" -j "$(nproc)" all-gcc all-target-libgcc all-target-libstdc++-v3 skip=1 -- GitLab