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

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

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 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/gtk+/nacl.patch ('k') | ports/harfbuzz/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) 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 EnableGlibcCompat 8 EnableGlibcCompat
9 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 9 EnableCliMain
10 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
11 10
12 export gzip_cv_assembler=no 11 export gzip_cv_assembler=no
13 export gl_cv_header_wchar_h_correct_inline=yes 12 export gl_cv_header_wchar_h_correct_inline=yes
14 if [ "${NACL_ARCH}" = pnacl ]; then 13 if [ "${NACL_ARCH}" = pnacl ]; then
15 NACLPORTS_CFLAGS+=" -std=gnu89" 14 NACLPORTS_CFLAGS+=" -std=gnu89"
16 export ac_cv_type_signal=int 15 export ac_cv_type_signal=int
17 export ac_cv_type_off_t=yes 16 export ac_cv_type_off_t=yes
18 fi 17 fi
19 18
20 DefaultConfigureStep 19 DefaultConfigureStep
21 } 20 }
OLDNEW
« no previous file with comments | « ports/gtk+/nacl.patch ('k') | ports/harfbuzz/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698