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

Unified Diff: ports/openjpeg/build.sh

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/opencv/build.sh ('k') | ports/perl/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/openjpeg/build.sh
diff --git a/ports/openjpeg/build.sh b/ports/openjpeg/build.sh
index 3ddfa8f62463f758607f4bdde8f6a57a3837e882..4deef32460e4c7f6a52b7c38553f8a040041fed0 100644
--- a/ports/openjpeg/build.sh
+++ b/ports/openjpeg/build.sh
@@ -15,7 +15,7 @@ if [ "${NACL_SHARED}" != "1" ]; then
EXTRA_CMAKE_ARGS+=" -DBUILD_SHARED_LIBS=OFF"
fi
-if [ "${NACL_ARCH}" = "pnacl" ]; then
+if [ "${NACL_ARCH}" = "pnacl" -o "${NACL_ARCH}" = "le32" ]; then
# The cmake endian test fails on PNaCl as it tries to search
# for string constants in object files which doesn't work in
# bitcode files. Instead disable the endian test and just use
« make_all.sh ('K') | « ports/opencv/build.sh ('k') | ports/perl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698