diff --git a/recipes/flycast/recipe.toml b/recipes/flycast/recipe.toml
index 14a8b4ada3d372628cc684527063a4faf930bfdf..cd5a8c0836ee2829a22a7e106333fe07463a490f 100644
--- a/recipes/flycast/recipe.toml
+++ b/recipes/flycast/recipe.toml
@@ -25,7 +25,7 @@ COOKBOOK_CONFIGURE="cmake"
 COOKBOOK_CONFIGURE_FLAGS=(
     -DCMAKE_VERBOSE_MAKEFILE=On
     -DCMAKE_CROSSCOMPILING=True
-    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo
     -DCMAKE_INSTALL_PREFIX="/"
     -DCMAKE_SYSTEM_NAME=Generic
     -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"