aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Sack <asac@linaro.org>2011-06-10 13:15:49 +0200
committerAlexander Sack <asac@linaro.org>2011-06-10 13:15:49 +0200
commit237db4ba689b546d0d34e2465c873c6c913c0444 (patch)
tree96f24f10e8bdb2b09acf8e6b65f3169dbad470f7
parent054dccbe3328670482ed427d03f812d5325982eb (diff)
add support for poking configure flags through LINARO_BUILD_EXTRA_CONFIGURE_FLAGSHEADmaster
when moving to new versions of toolchain and for experiments it might be needed to add extra configure flags from outside. we opted to make this a 'hidden' environment hook rather than an official command line interpreter, because linaro-build.sh should normally produce validated linaro toolchain packages and not suggest to users that poking configure flags is something that would still yield a validated linaro toolchain
-rwxr-xr-xlinaro-build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/linaro-build.sh b/linaro-build.sh
index 556835e..fe5323a 100755
--- a/linaro-build.sh
+++ b/linaro-build.sh
@@ -252,6 +252,8 @@ ${ARG_TOOLCHAIN_SRC_DIR}/build/configure \
--with-binutils-version=2.20.1 \
\
--with-gmp-version=4.2.4 \
- --with-mpfr-version=2.4.1
+ --with-mpfr-version=2.4.1 \
+ \
+ ${LINARO_BUILD_EXTRA_CONFIGURE_FLAGS}
make && make install