diff --git a/recipes/dev/gcc13/recipe.sh b/recipes/dev/gcc13/recipe.sh
index 90cefc451205d7501a635eb33e00b05cfdd912ea..fef38205f40819b22fb0ccd735fcca5992f6dbcc 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