configure: use -Wl,--large-address-aware on windows 29/17829/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 11 Mar 2014 07:53:35 +0000 (10:53 +0300)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 11 Mar 2014 07:55:33 +0000 (11:55 +0400)
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

index 82d94e3..b8b99e2 100755 (executable)
@@ -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 \