| Index: pnacl/build.sh
|
| diff --git a/pnacl/build.sh b/pnacl/build.sh
|
| index ce2d4b71905fe7b72e75e49abdcdacc1bd63a1c3..42b4a75695190d43ef7d3a8db10c043df5cf71af 100755
|
| --- a/pnacl/build.sh
|
| +++ b/pnacl/build.sh
|
| @@ -2430,6 +2430,8 @@ libs-support() {
|
| for arch in arm x86-32 x86-64 mips32; do
|
| libs-support-native ${arch}
|
| done
|
| +
|
| + libs-support-unsandboxed
|
| }
|
|
|
| libs-support-newlib-crt1() {
|
| @@ -2527,6 +2529,17 @@ libs-support-native() {
|
| ${PNACL_AR} rc "${destdir}"/libcrt_platform.a "${tmpdir}"/*.o
|
| }
|
|
|
| +libs-support-unsandboxed() {
|
| + if ${BUILD_PLATFORM_LINUX}; then
|
| + local arch=linux-x86-32
|
| + StepBanner "LIBS-SUPPORT (${arch})" "Install unsandboxed_irt.o"
|
| + local destdir="${INSTALL_LIB_NATIVE}"${arch}
|
| + mkdir -p ${destdir}
|
| + gcc -m32 -O2 -Wall -Werror -I${NACL_ROOT}/.. -DNACL_LINUX=1 -c \
|
| + ${PNACL_SUPPORT}/unsandboxed_irt.c -o ${destdir}/unsandboxed_irt.o
|
| + fi
|
| +}
|
| +
|
|
|
| # Build the dummy "libpnacl_irt_shim.a", which is useful for building
|
| # commandline programs. It cannot be used to build PPAPI programs
|
|
|