Toolchains for Win32 used various pthread models and exception handler
models. So we choose to use statically linking C/C++ libraries to avoid
DLL conflict.
(To avoid the problem, we can compile all dependant libararies using same
toolchain, but it needs many efforts and has no many benefits.)
Change-Id: Ie7f116c9872472382d9e2351b239df9e125617a4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
CONFIGURE_APPEND="
--cross-prefix=$CROSS_PREFIX
--enable-werror
+ --extra-cflags=-static-libgcc
+ --extra-cflags=-static-libstdc++
--extra-ldflags=-Wl,--large-address-aware
--extra-ldflags=-Wl,--export-all-symbols
--audio-drv-list=dsound
--cc=gcc
--cxx=g++
--enable-werror
+ --extra-cflags=-static-libgcc
+ --extra-cflags=-static-libstdc++
--extra-ldflags=-Wl,--large-address-aware
--extra-ldflags=-Wl,--export-all-symbols
--audio-drv-list=dsound