summaryrefslogtreecommitdiff
path: root/waterfox/1003_gentoo_specific_pgo.patch
blob: 6096e291e93c651d14f7788949a5172125e65224 (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
 ifdef MOZ_WIDGET_TOOLKIT
 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 "mach build".'
 	@exit 1
bgstack15