aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2017-12-01 11:15:49 -0800
committerPirama Arumuga Nainar <pirama@google.com>2017-12-01 11:17:35 -0800
commitfe8a90dfffc6acfcddc700fe5e232422d62514b3 (patch)
treeb7301b05f94b8d138a1a5ad2821cc284c6266f7a
parent5b8a1884ca7e87c37ecaa5ed746c3a1b50ea23fc (diff)
downloadmingw-fe8a90dfffc6acfcddc700fe5e232422d62514b3.tar.gz
Build libgcc_{s,eh}.a
Bug: http://b/69970955 Pass '--enable-shared=libgcc' to GCC 'configure' so libgcc_s.a and libgcc_eh.a get built. Test: toolchain/mingw/build.sh in the mingw branch Change-Id: Iffd2862a317b72d536c75443ce02be178a1e3f0d
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 212383d..4c7f9b3 100755
--- a/build.sh
+++ b/build.sh
@@ -504,6 +504,7 @@ fi
var_append GCC_CONFIGURE_OPTIONS "--enable-languages=c,c++"
var_append GCC_CONFIGURE_OPTIONS "--with-sysroot=$INSTALL_DIR"
var_append GCC_CONFIGURE_OPTIONS "--enable-threads=posix"
+var_append GCC_CONFIGURE_OPTIONS "--enable-shared=libgcc"
build_mingw_tools mingw-w64-tools
build_mingw_headers mingw-w64-headers