| Index: ports/binutils-2.25/build.sh
|
| diff --git a/ports/binutils-2.25/build.sh b/ports/binutils-2.25/build.sh
|
| index f3daed0f24eb1eeef42d0c2fb2230216ec20e343..1a88f35b3c537f8a5b7cdbd0b69fa672ca5b0635 100644
|
| --- a/ports/binutils-2.25/build.sh
|
| +++ b/ports/binutils-2.25/build.sh
|
| @@ -6,24 +6,22 @@ HOST_BUILD_DIR=${WORK_DIR}/build_host
|
| HOST_INSTALL_DIR=${WORK_DIR}/install_host
|
|
|
| export ac_cv_func_getrlimit=no
|
| -export EXTRA_AM_CPPFLAGS="-Dmain=nacl_main"
|
| -export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -lppapi_simple \
|
| - -lnacl_io -lppapi -l${NACL_CXX_LIB}"
|
| +
|
| +EnableCliMain
|
|
|
| BuildHostBinutils() {
|
| MakeDir ${HOST_BUILD_DIR}
|
| ChangeDir ${HOST_BUILD_DIR}
|
| - CC="gcc" EXTRA_LIBS="" EXTRA_AM_CPPFLAGS="" \
|
| - LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR} \
|
| + LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR} \
|
| --target=avr \
|
| --disable-nls
|
| - EXTRA_LIBS="" EXTRA_AM_CPPFLAGS="" LogExecute make
|
| - EXTRA_LIBS="" EXTRA_AM_CPPFLAGS="" LogExecute make install
|
| + LogExecute make
|
| + LogExecute make install
|
| }
|
|
|
| ConfigureStep() {
|
| - ChangeDir ${SRC_DIR}
|
| BuildHostBinutils
|
| +
|
| export PATH="${HOST_INSTALL_DIR}/bin:${PATH}"
|
| ChangeDir ${BUILD_DIR}
|
| EXTRA_CONFIGURE_ARGS="\
|
|
|