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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ports/metakit/build.sh
diff --git a/ports/metakit/build.sh b/ports/metakit/build.sh
index 40afa040b776df5dbbf847b3beb9773cacba0b00..9c2807e14a71116e95ef49b80b79af6aa41918aa 100644
--- a/ports/metakit/build.sh
+++ b/ports/metakit/build.sh
@@ -4,11 +4,11 @@
NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure
-if [ "${NACL_SHARED}" = "0" ]; then
+if [ "${NACL_SHARED}" = "1" ]; then
+ MAKE_TARGETS="libmk4.so libmk4.a"
+else
EXTRA_CONFIGURE_ARGS="--disable-shared"
MAKE_TARGETS="libmk4.a"
-else
- MAKE_TARGETS="libmk4.so libmk4.a"
fi
AutoconfStep() {

Powered by Google App Engine
This is Rietveld 408576698