Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: ports/libtommath/build.sh

Issue 730193002: Fix more compile failures caused by recent ARM toolchain upgrade. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/libgit2/build.sh ('k') | ports/libyuv/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
5 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 MAKE_TARGETS=mtest 6 MAKE_TARGETS=mtest
7 EXECUTABLES=mtest/mtest${NACL_EXEEXT} 7 EXECUTABLES=mtest/mtest${NACL_EXEEXT}
8 8
9 # Workaround for arm-gcc bug:
10 # https://code.google.com/p/nativeclient/issues/detail?id=3205
11 # TODO(sbc): remove this once the issue is fixed
12 if [ "${NACL_ARCH}" = "arm" ]; then
13 NACLPORTS_CPPFLAGS+=" -mfpu=vfp"
14 fi
15
9 BuildStep() { 16 BuildStep() {
10 SetupCrossEnvironment 17 SetupCrossEnvironment
11 DefaultBuildStep 18 DefaultBuildStep
12 } 19 }
13 20
14 #TestStep() { 21 TestStep() {
15 # To run tests, pipe mtest.nexe output into test.nexe input 22 # To run tests, pipe mtest.nexe output into test.nexe input
16 # mtest/mtest.exe | test.nexe 23 # mtest/mtest.exe | test.nexe
17 # However, this test is setup to run forever, so we don't run 24 # However, this test is setup to run forever, so we don't run
18 # it as part of the build. 25 # it as part of the build.
19 #RunSelLdrCommand mtest/mtest.nexe | RunSelLdrCommand test.nexe 26 #RunSelLdrCommand mtest/mtest.nexe | RunSelLdrCommand test.nexe
20 #} 27 return
28 }
21 29
22 InstallStep() { 30 InstallStep() {
23 # copy libs and headers manually 31 # copy libs and headers manually
24 MakeDir ${DESTDIR_INCLUDE} 32 MakeDir ${DESTDIR_INCLUDE}
25 MakeDir ${DESTDIR_LIB} 33 MakeDir ${DESTDIR_LIB}
26 LogExecute cp *.h ${DESTDIR_INCLUDE}/ 34 LogExecute cp *.h ${DESTDIR_INCLUDE}/
27 LogExecute cp *.a ${DESTDIR_LIB}/ 35 LogExecute cp *.a ${DESTDIR_LIB}/
28 } 36 }
OLDNEW
« no previous file with comments | « ports/libgit2/build.sh ('k') | ports/libyuv/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698