# Copyright 2014 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. | |
if [ "${NACL_LIBC}" = "newlib" ]; then | |
NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | |
export LIBS="-lglibc-compat" | |
fi |