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

Unified Diff: ports/imagemagick/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
Index: ports/imagemagick/nacl.patch
diff --git a/ports/imagemagick/nacl.patch b/ports/imagemagick/nacl.patch
new file mode 100644
index 0000000000000000000000000000000000000000..ad6d80ca520adf3ca54c4d0fe4505ee4fbc39c37
--- /dev/null
+++ b/ports/imagemagick/nacl.patch
@@ -0,0 +1,14 @@
+diff --git a/configure b/configure
+--- a/configure
++++ b/configure
+@@ -9102,7 +9102,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ fi
+
+ if test "x$GCC" = "xyes"; then
+- CFLAGS="$CFLAGS -fexceptions"
++ if test "x$NACL_ARCH" != "xle32"; then
++ CFLAGS="$CFLAGS -fexceptions"
++ fi
+ touch local.exp
+ else
+ cat > local.exp <<EOF
« make_all.sh ('K') | « ports/imagemagick/build.sh ('k') | ports/jsoncpp/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698