OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" |
7 | 7 |
8 export LIBS+=" -lSM -lICE -lxcb -lXau \ | 8 MAKE_TARGETS=R |
| 9 |
| 10 EXTRA_CONFIGURE_ARGS+=" --with-x" |
| 11 |
| 12 export LIBS+=" -lncurses \ |
9 -Wl,--undefined=nacl_main ${NACL_CLI_MAIN_LIB} \ | 13 -Wl,--undefined=nacl_main ${NACL_CLI_MAIN_LIB} \ |
10 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" | 14 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" |
11 | 15 |
12 if [ "${NACL_LIBC}" = "newlib" ]; then | |
13 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | |
14 LIBS+=" -lglibc-compat" | |
15 fi | |
16 | |
17 InstallStep() { | 16 InstallStep() { |
18 PublishByArchForDevEnv | 17 PublishByArchForDevEnv |
19 } | 18 } |
OLD | NEW |