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

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

Issue 632743004: When patching gcc specs file use existing specs if found (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ports/leveldb/pkg_info ('k') | ports/mpg123/pkg_info » ('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) 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 NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure 5 NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure
6 6
7 if [ "${NACL_SHARED}" = "0" ]; then 7 if [ "${NACL_SHARED}" = "1" ]; then
8 MAKE_TARGETS="libmk4.so libmk4.a"
9 else
8 EXTRA_CONFIGURE_ARGS="--disable-shared" 10 EXTRA_CONFIGURE_ARGS="--disable-shared"
9 MAKE_TARGETS="libmk4.a" 11 MAKE_TARGETS="libmk4.a"
10 else
11 MAKE_TARGETS="libmk4.so libmk4.a"
12 fi 12 fi
13 13
14 AutoconfStep() { 14 AutoconfStep() {
15 pushd ${SRC_DIR}/unix 15 pushd ${SRC_DIR}/unix
16 autoconf 16 autoconf
17 popd 17 popd
18 } 18 }
19 19
20 ConfigureStep() { 20 ConfigureStep() {
21 AutoconfStep 21 AutoconfStep
22 DefaultConfigureStep 22 DefaultConfigureStep
23 } 23 }
OLDNEW
« no previous file with comments | « ports/leveldb/pkg_info ('k') | ports/mpg123/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698