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

Unified Diff: ports/pkg/nacl.patch

Issue 1804293003: Add support for new pnacl native toolchain driver (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Fix according to Brad's comments Created 4 years, 8 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
« make_all.sh ('K') | « ports/perl/build.sh ('k') | ports/pnacl/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/pkg/nacl.patch
diff --git a/ports/pkg/nacl.patch b/ports/pkg/nacl.patch
index f759a08882d12d7a450f2ceccf6c6e119f342cca..0dc72ad78aa9ed57074727f720ebe28cafbd128e 100644
--- a/ports/pkg/nacl.patch
+++ b/ports/pkg/nacl.patch
@@ -751,7 +751,7 @@ diff --git a/libpkg/pkg_elf.c b/libpkg/pkg_elf.c
int
pkg_get_myarch(char *dest, size_t sz)
{
-@@ -987,3 +993,49 @@ pkg_get_myarch(char *dest, size_t sz)
+@@ -987,3 +993,51 @@ pkg_get_myarch(char *dest, size_t sz)
}
#endif
@@ -778,6 +778,8 @@ diff --git a/libpkg/pkg_elf.c b/libpkg/pkg_elf.c
+ const char* cpu_name = "i686";
+#elif defined __x86_64__
+ const char* cpu_name = "x86_64";
++#elif defined __le32__
++ const char* cpu_name = "le32";
+#elif defined __pnacl__
+ const char* cpu_name = "pnacl";
+#else
« make_all.sh ('K') | « ports/perl/build.sh ('k') | ports/pnacl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698