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

Unified Diff: build_tools/config.sub

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 | « build_tools/common.sh ('k') | build_tools/nacl-env.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_tools/config.sub
diff --git a/build_tools/config.sub b/build_tools/config.sub
index c894da45500c4af1bf5688e713a8895622d18182..1c6ef9573747859401a6bde8a76d20919f187492 100755
--- a/build_tools/config.sub
+++ b/build_tools/config.sub
@@ -833,6 +833,10 @@ case $basic_machine in
basic_machine=le32-unknown
os=-nacl
;;
+ emscripten)
+ basic_machine=asmjs-unknown
+ os=-emscripten
+ ;;
ncr3000)
basic_machine=i486-ncr
os=-sysv4
@@ -1497,6 +1501,8 @@ case $os in
;;
-nacl*)
;;
+ -emscripten*)
+ ;;
-none)
;;
*)
« no previous file with comments | « build_tools/common.sh ('k') | build_tools/nacl-env.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698