#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source pkg_info
source ../../build_tools/common.sh

export LIBS="-lnosys -lm"

# TODO: Remove when this is fixed.
# https://code.google.com/p/nativeclient/issues/detail?id=3599
if [ "$NACL_ARCH" = "pnacl" ]; then
  export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}"
fi

CONFIG_SUB=config/config.sub
DefaultPackageInstall
exit 0


#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source pkg_info
source ../../build_tools/common.sh

export LIBS="-lnosys -lm"

CONFIG_SUB=config/config.sub
DefaultPackageInstall
exit 0


Remove -O2 workaround for libtiff + PNaCl.
Remove -O2 workaround for libtiff + PNaCl.

Unstick the NaClPorts bots slightly, since there's
currently a failure using CFLAGS after r913:

./nacl-tiff.sh: line 14: CFLAGS: unbound variable

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3599
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/26164006

git-svn-id: 84b3587ce119b778414dcb50e18b7479aacf4f1d@916 7dad1e8b-422e-d2af-fbf5-8013b78bd812
