summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2013-07-16 15:10:13 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2013-08-06 14:08:09 +0900
commitc91a001caf8accb975dda72ccd76ed3bb8540329 (patch)
treebed08d99ce6fd832d11c782dc2f137c4518b46bc
parent6987f2d6f367bda73941b39537ef8d282600781f (diff)
downloadqemu-c91a001caf8accb975dda72ccd76ed3bb8540329.tar.gz
qemu-c91a001caf8accb975dda72ccd76ed3bb8540329.tar.bz2
qemu-c91a001caf8accb975dda72ccd76ed3bb8540329.zip
Add CFLAGS '-fno-omit-frame-pointer' on MinGW.
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>
-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 \