From: Stanislav Vorobiov Date: Tue, 11 Mar 2014 07:53:35 +0000 (+0300) Subject: configure: use -Wl,--large-address-aware on windows X-Git-Tag: TizenStudio_2.0_p2.3~333^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=886b6ea935419b07101aee63071fa8c934752cc8;p=sdk%2Femulator%2Fqemu.git configure: use -Wl,--large-address-aware on windows On windows we always build 32-bit binary even if host os is 64-bit. This limits emulator virtual memory size to 2GB. -Wl,--large-address-aware linker flag allows us to use up to 4GB of virtual memory on 64-bit host os and up to 3GB on 32-bit host os Change-Id: I2352a89850a72d331e3e54f6662ff76adc22868d --- diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 82d94e3..b8b99e2 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -258,6 +258,7 @@ echo "##### QEMU configure append:" $CONFIGURE_APPEND # A GCC might have a bug related with omitting frame pointer. It generates weird instructions. exec ./configure \ --extra-cflags=-fno-omit-frame-pointer \ + --extra-ldflags=-Wl,--large-address-aware \ --cc=gcc \ --audio-drv-list=winwave \ --enable-hax \