| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 SCHEME="small" | 5 SCHEME="small" |
| 6 | 6 |
| 7 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}" | 7 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}" |
| 8 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}" | 8 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}" |
| 9 | 9 |
| 10 EXTRA_CONFIGURE_ARGS="--disable-native-texlive-build \ | 10 EXTRA_CONFIGURE_ARGS="--disable-native-texlive-build \ |
| 11 --enable-cxx-runtime-hack \ | 11 --enable-cxx-runtime-hack \ |
| 12 --disable-ipc \ | 12 --disable-ipc \ |
| 13 --disable-lcdf-typetools \ | 13 --disable-lcdf-typetools \ |
| 14 --disable-luajittex \ | 14 --disable-luajittex \ |
| 15 --disable-mktexmf-default \ | 15 --disable-mktexmf-default \ |
| 16 --disable-mktexpk-default \ | 16 --disable-mktexpk-default \ |
| 17 --disable-mktextfm-default \ | 17 --disable-mktextfm-default \ |
| 18 --disable-mkocp-default \ | 18 --disable-mkocp-default \ |
| 19 --disable-mktexfmt-default \ | 19 --disable-mktexfmt-default \ |
| 20 --disable-dependency-tracking \ | 20 --disable-dependency-tracking \ |
| 21 --disable-linked-scripts \ | 21 --disable-linked-scripts \ |
| 22 --disable-shared \ | 22 --disable-shared \ |
| 23 --disable-largefile \ | 23 --disable-largefile \ |
| 24 --with-banner-add=/NaCl \ | 24 --with-banner-add=/NaCl \ |
| 25 --without-x" | 25 --without-x" |
| 26 | 26 |
| 27 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -ltar -lppapi_simple -lnacl_spawn \ | 27 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -ltar -lppapi_simple \ |
| 28 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" | 28 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" |
| 29 | 29 |
| 30 if [ "${NACL_LIBC}" = "newlib" ]; then | 30 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 31 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 31 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 32 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 32 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 33 export LIBS="-lglibc-compat" | 33 export LIBS="-lglibc-compat" |
| 34 fi | 34 fi |
| 35 | 35 |
| 36 ConfigureStep() { | 36 ConfigureStep() { |
| 37 # TODO(phosek): we should be able to run reautoconf at this point, but | 37 # TODO(phosek): we should be able to run reautoconf at this point, but |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 popd | 130 popd |
| 131 fi | 131 fi |
| 132 fi | 132 fi |
| 133 done | 133 done |
| 134 done | 134 done |
| 135 | 135 |
| 136 ChangeDir ${ARCH_DIR} | 136 ChangeDir ${ARCH_DIR} |
| 137 LogExecute rm -f ${ARCH_DIR}.zip | 137 LogExecute rm -f ${ARCH_DIR}.zip |
| 138 LogExecute zip -r ${ARCH_DIR}.zip . | 138 LogExecute zip -r ${ARCH_DIR}.zip . |
| 139 } | 139 } |
| OLD | NEW |