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

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

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 months 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
OLDNEW
1 # Copyright (c) 2015 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2015 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 EXECUTABLES=gzip${NACL_EXEEXT} 5 EXECUTABLES=gzip${NACL_EXEEXT}
6 6
7 ConfigureStep() { 7 ConfigureStep() {
8 if [ "${NACL_LIBC}" = "newlib" ]; then 8 if [ "${NACL_LIBC}" = "newlib" ]; then
9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
10 fi 10 fi
11 11
12 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 12 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
13 13
14 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" 14 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
15 15
16 export gzip_cv_assembler=no 16 export gzip_cv_assembler=no
17 export gl_cv_header_wchar_h_correct_inline=yes 17 export gl_cv_header_wchar_h_correct_inline=yes
18 if [ "${NACL_ARCH}" = pnacl ]; then 18 if [ "${NACL_ARCH}" = pnacl ]; then
19 NACLPORTS_CFLAGS+=" -std=gnu89" 19 NACLPORTS_CFLAGS+=" -std=gnu89"
20 export ac_cv_type_signal=int 20 export ac_cv_type_signal=int
21 export ac_cv_type_off_t=yes 21 export ac_cv_type_off_t=yes
22 fi 22 fi
23 23
24 DefaultConfigureStep 24 DefaultConfigureStep
25 } 25 }
26
27 PublishStep() {
28 PublishByArchForDevEnv
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698