OLD | NEW |
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 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 NACLPORTS_CPPFLAGS+="${NACL_EXCEPTIONS_FLAG}" |
5 if [ "${NACL_SHARED}" = "1" ]; then | 5 if [ "${NACL_SHARED}" = "1" ]; then |
6 EXECUTABLES+=" libfreeimage-3.17.0.so" | 6 EXECUTABLES+=" libfreeimage-3.17.0.so" |
7 fi | 7 fi |
8 | 8 |
9 if [ "${NACL_ARCH}" = "arm" ]; then | 9 if [ "${NACL_ARCH}" = "arm" ]; then |
10 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" | 10 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
11 fi | 11 fi |
12 | 12 |
13 BUILD_DIR=${SRC_DIR} | 13 BUILD_DIR=${SRC_DIR} |
14 | 14 |
(...skipping 16 matching lines...) Expand all Loading... |
31 # assumes pwd has makefile | 31 # assumes pwd has makefile |
32 LogExecute make -f Makefile.gnu clean | 32 LogExecute make -f Makefile.gnu clean |
33 LogExecute make -f Makefile.gnu -j${OS_JOBS} ENABLE_SHARED=${NACL_SHARED} | 33 LogExecute make -f Makefile.gnu -j${OS_JOBS} ENABLE_SHARED=${NACL_SHARED} |
34 } | 34 } |
35 | 35 |
36 InstallStep() { | 36 InstallStep() { |
37 export INCDIR=${DESTDIR_INCLUDE} | 37 export INCDIR=${DESTDIR_INCLUDE} |
38 export INSTALLDIR=${DESTDIR_LIB} | 38 export INSTALLDIR=${DESTDIR_LIB} |
39 LogExecute make -f Makefile.gnu install ENABLE_SHARED=${NACL_SHARED} | 39 LogExecute make -f Makefile.gnu install ENABLE_SHARED=${NACL_SHARED} |
40 } | 40 } |
OLD | NEW |