A GCC on MinGW might have a bug related with omitting frame pointer.
It generates weird instructions. So we trying to avoid this bugs.
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
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 \