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

Unified Diff: ports/zlib/nacl.patch

Issue 1399633002: Add emscripten support to config.sub (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@hello_emscripten
Patch Set: Created 5 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
« no previous file with comments | « ports/zlib/diff_skip.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/zlib/nacl.patch
diff --git a/ports/zlib/nacl.patch b/ports/zlib/nacl.patch
index 480a7462464852690376b2d0e250704b6ff52f33..720f3b8766959025c34d20ac45225c799038ade1 100644
--- a/ports/zlib/nacl.patch
+++ b/ports/zlib/nacl.patch
@@ -1,18 +1,16 @@
diff --git a/configure b/configure
--- a/configure
+++ b/configure
-@@ -188,6 +188,15 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
+@@ -188,6 +188,13 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
*BSD | *bsd* | DragonFly)
LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
LDCONFIG="ldconfig -m" ;;
+ pnacl)
-+ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
+ EXE='.pexe' ;;
+ nacl)
+ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
+ EXE='.nexe' ;;
-+ em)
-+ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
++ emscripten)
+ EXE='.js' ;;
CYGWIN* | Cygwin* | cygwin* | OS/2*)
EXE='.exe' ;;
« no previous file with comments | « ports/zlib/diff_skip.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698