Don't compile host libraries with --with-sysroot
authorAndrew Hsieh <andrewhsieh@google.com>
Fri, 14 Dec 2012 12:38:07 +0000 (20:38 +0800)
committerAndrew Hsieh <andrewhsieh@google.com>
Fri, 14 Dec 2012 12:38:07 +0000 (20:38 +0800)
commite9ba2efe4c3ce6cf16ce15fecce3afd7869038ef
tree0e5e388a79bf0e420b5d777c8b04964b7b0a1553
parent7a683436af4ec1627359a951a16bbbadaacc3e1e
Don't compile host libraries with --with-sysroot

build-gcc.sh passes on --with-sysroot which is really meant for
target.  Remove it from "baseargs" to form "host_baseargs"
(borrowed the unused "gold_baseargs") and used it for building
host libraries, otherwise gmp may not have incorrect
dependency_libs= in .libs/libgmpxx.lai.

Change-Id: I2d1c1328039a48b72ce6b4191a71ed5482894459
Makefile.in
configure
configure.ac