| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 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 MAKE_TARGETS="pprogram" | 5 MAKE_TARGETS="pprogram" |
| 6 INSTALL_TARGETS="install-nodoc" | 6 INSTALL_TARGETS="install-nodoc" |
| 7 | 7 |
| 8 EXECUTABLES="ruby${NACL_EXEEXT} pepper-ruby${NACL_EXEEXT}" | 8 EXECUTABLES="ruby${NACL_EXEEXT} pepper-ruby${NACL_EXEEXT}" |
| 9 | 9 |
| 10 ConfigureStep() { | 10 ConfigureStep() { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 --with-html=no \ | 42 --with-html=no \ |
| 43 --with-ftp=no \ | 43 --with-ftp=no \ |
| 44 --${NACL_OPTION}-mmx \ | 44 --${NACL_OPTION}-mmx \ |
| 45 --${NACL_OPTION}-sse \ | 45 --${NACL_OPTION}-sse \ |
| 46 --${NACL_OPTION}-sse2 \ | 46 --${NACL_OPTION}-sse2 \ |
| 47 --${NACL_OPTION}-asm \ | 47 --${NACL_OPTION}-asm \ |
| 48 --with-x=no \ | 48 --with-x=no \ |
| 49 ${EXTRA_CONFIGURE_ARGS} | 49 ${EXTRA_CONFIGURE_ARGS} |
| 50 } | 50 } |
| 51 | 51 |
| 52 BuildStep() { | |
| 53 DefaultBuildStep | |
| 54 if [ $NACL_ARCH == "pnacl" ]; then | |
| 55 # Just write the x86-64 version out for now. | |
| 56 TranslateAndWriteLauncherScript ruby.pexe x86-64 ruby.x86-64.nexe ruby | |
| 57 fi | |
| 58 } | |
| 59 | |
| 60 InstallStep() { | 52 InstallStep() { |
| 61 DESTDIR=${DESTDIR}/${PREFIX} | 53 DESTDIR=${DESTDIR}/${PREFIX} |
| 62 DefaultInstallStep | 54 DefaultInstallStep |
| 63 } | 55 } |
| OLD | NEW |