summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtizen/emulator_configure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh
index 3c021c8908..eeb1b63159 100755
--- a/tizen/emulator_configure.sh
+++ b/tizen/emulator_configure.sh
@@ -249,8 +249,12 @@ cd ..
echo ""
echo "##### QEMU configuring for emulator"
echo "##### QEMU configure append:" $CONFIGURE_APPEND
+# We add CFLAGS '-fno-omit-frame-pointer'.
+# A GCC might have a bug related with omitting frame pointer. It generates weird instructions.
exec ./configure \
$CONFIGURE_APPEND \
+ --extra-cflags=-fno-omit-frame-pointer \
+ --cc=gcc \
--audio-drv-list=winwave \
--audio-card-list=ac97 \
--enable-hax \