From 886b6ea935419b07101aee63071fa8c934752cc8 Mon Sep 17 00:00:00 2001 From: Stanislav Vorobiov Date: Tue, 11 Mar 2014 10:53:35 +0300 Subject: [PATCH] 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 --- tizen/emulator_configure.sh | 1 + 1 file changed, 1 insertion(+) 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 \ -- 2.7.4