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

Unified Diff: ports/vim/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/vim/nacl.patch
diff --git a/ports/vim/nacl.patch b/ports/vim/nacl.patch
index e9dc71427465e17b8a8e62f3539b2b50a6851ad3..8757b4b74b14b57773974d28b2afeea02bb2fc50 100644
--- a/ports/vim/nacl.patch
+++ b/ports/vim/nacl.patch
@@ -10,6 +10,28 @@ diff --git a/src/Makefile b/src/Makefile
$(MAKE) -f Makefile
# Build the language specific files if they were unpacked.
+@@ -1926,7 +1926,9 @@ installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
+ rm -f $(DEST_BIN)/$(VIMNAME).rm; \
+ fi
+ $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
+- $(STRIP) $(DEST_BIN)/$(VIMTARGET)
++ -if test "$(NACL_ARCH)" != "le32"; then \
++ $(STRIP) $(DEST_BIN)/$(VIMTARGET); \
++ fi
+ chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
+ # may create a link to the new executable from /usr/bin/vi
+ -$(LINKIT)
+@@ -2063,7 +2065,9 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
+ rm -f $(DEST_BIN)/xxd.rm; \
+ fi
+ $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
+- $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
++ -if test "$(NACL_ARCH)" != "le32"; then \
++ $(STRIP) $(DEST_BIN)/xxd$(EXEEXT) \
++ fi
+ chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
+ -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
+
diff --git a/src/auto/configure b/src/auto/configure
--- a/src/auto/configure
+++ b/src/auto/configure
« make_all.sh ('K') | « ports/toybox/nacl.patch ('k') | ports/x264/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698