summaryrefslogtreecommitdiff
path: root/waterfox/1003_gentoo_specific_pgo.patch
blob: 88e4b69e8adaf7291d1d26e31c11cfe32b52e9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Daniel Rammelt <d.rammelt@icloud.com>

Add missing pgo-profile-run due to tests being disabled

Patch modified for newer version by Andrew A. Savchenko <bircoph@gentoo.org>

https://bugs.gentoo.org/show_bug.cgi?id=499650

diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,16 +50,19 @@ ifndef MOZ_PROFILE_USE
 ifndef JS_STANDALONE
 ifdef COMPILE_ENVIRONMENT
 $(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
 endif
 endif
 endif
 endif
 
+pgo-profile-run:
+	$(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
+
 ifdef JS_STANDALONE
 .PHONY: CLOBBER
 CLOBBER:
 else
 CLOBBER: $(topsrcdir)/CLOBBER
 	@echo 'STOP!  The CLOBBER file has changed.'
 	@echo 'Please run the build through a sanctioned build wrapper, such as'
 	@echo '"mach build" or client.mk.'
bgstack15