Chromium Code Reviews| Index: libraries/python/nacl-python.sh |
| diff --git a/libraries/python/nacl-python.sh b/libraries/python/nacl-python.sh |
| index 09ebb4a5b573edc9b9482ef3f524d635bd7fe809..302fe523927283c23226f6ccf215834f948a5cbd 100755 |
| --- a/libraries/python/nacl-python.sh |
| +++ b/libraries/python/nacl-python.sh |
| @@ -10,15 +10,13 @@ EXECUTABLES=python.nexe |
| # Currently this package only builds on linux. |
| # The build relies on certain host binaries and pythong's configure |
| # requires us to sett --build= as well as --host=. |
| -EXTRA_CONFIGURE_ARGS="--disable-ipv6 --with-suffix=.nexe --build=x86_64-linux-gnu" |
| -export MAKEFLAGS="PGEN=../build-nacl-host/Parser/pgen" |
| HERE=$(cd "$(dirname "$BASH_SOURCE")" ; pwd) |
| BuildHostPython() { |
| ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} |
| MakeDir build-nacl-host |
| ChangeDir build-nacl-host |
| - LogExecute ../configure |
| + CFLAGS="" LDFLAGS="" LogExecute ../configure |
|
Mark Seaborn
2013/07/16 15:40:12
Can you comment setting CFLAGS="" LDFLAGS="", plea
Sam Clegg
2013/07/16 16:19:16
Done.
|
| LogExecute make -j${OS_JOBS} python Parser/pgen |
| } |
| @@ -28,7 +26,12 @@ CustomConfigureStep() { |
| # We pre-seed configure with certain results that it cannot determine |
| # since we are doing a cross compile. The $CONFIG_SITE file is sourced |
| # by configure early on. |
| + EXTRA_CONFIGURE_ARGS+=" --disable-ipv6" |
|
Mark Seaborn
2013/07/16 15:40:12
Should this be
EXTRA_CONFIGURE_ARGS="--disable-ipv
Sam Clegg
2013/07/16 16:19:16
Done.
|
| + EXTRA_CONFIGURE_ARGS+=" --with-suffix=.nexe" |
| + EXTRA_CONFIGURE_ARGS+=" --build=x86_64-linux-gnu" |
| + export MAKEFLAGS="PGEN=../build-nacl-host/Parser/pgen" |
| export CONFIG_SITE=${HERE}/config.site |
| + export LIBS="-lc -lnosys" |
| DefaultConfigureStep |
| } |