diff --git a/recipes/gcc/recipe.sh b/recipes/gcc/recipe.sh
index c63ecb872e734e8405b81d62b5ea5adf63db33b5..a14cfe8989b8a45beda6fe880a3d0337b1b7f1b8 100644
--- a/recipes/gcc/recipe.sh
+++ b/recipes/gcc/recipe.sh
@@ -35,7 +35,7 @@ function recipe_build {
         --with-sysroot=/ \
         --with-build-sysroot="$sysroot" \
         --enable-static \
-        --disable-shared \
+        --enable-shared \
         --disable-dlopen \
         --disable-nls \
         --enable-languages=c,c++ \