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

Unified Diff: ports/quakespasm/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/quakespasm/nacl.patch
diff --git a/ports/quakespasm/nacl.patch b/ports/quakespasm/nacl.patch
index 26aea5f4f93baf8870eccb369a8b9cc7571cc538..1e396fded6655aedaa35202a71a398151ba6cbad 100644
--- a/ports/quakespasm/nacl.patch
+++ b/ports/quakespasm/nacl.patch
@@ -113,15 +113,18 @@ diff --git a/Quake/Makefile b/Quake/Makefile
# ----------------------------------------------------------------------------
# objects
-@@ -254,11 +265,11 @@ OBJS := strlcat.o \
+@@ -254,11 +265,13 @@ OBJS := strlcat.o \
# Linux build rules
# ------------------------
-quakespasm: $(OBJS)
- $(LINKER) $(OBJS) $(LDFLAGS) $(LIBS) $(SDL_LIBS) -o $@
+- $(call do_strip,$@)
+quakespasm$(EXEEXT): $(OBJS)
+ $(RUN_CCLD)$(LINKER) $(OBJS) $(LDFLAGS) $(LIBS) $(SDL_LIBS) -o $@
- $(call do_strip,$@)
++ -if test $(NACL_ARCH) != le32; then \
++ $(call do_strip,$@); \
++ fi
-release: quakespasm
+release: quakespasm$(EXEEXT)

Powered by Google App Engine
This is Rietveld 408576698