summaryrefslogtreecommitdiff
path: root/www-client/firefox/files/pgo.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-25 21:04:56 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-25 21:04:56 +0100
commitc2b0d275a42869258071fa3571652bb4c10f254e (patch)
tree4a69ee792cade0ef26d0f7272705e19f3bdb38b8 /www-client/firefox/files/pgo.patch
parentdc902eb88e6dfa3cc46a065a8a5fc8c708c94915 (diff)
gentoo's PGO useflag doesn't work on firefox, but with some patching it will...add firefox with pgo.patch
Diffstat (limited to 'www-client/firefox/files/pgo.patch')
-rw-r--r--www-client/firefox/files/pgo.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/firefox/files/pgo.patch b/www-client/firefox/files/pgo.patch
new file mode 100644
index 00000000..106bf598
--- /dev/null
+++ b/www-client/firefox/files/pgo.patch
@@ -0,0 +1,13 @@
+diff -Nur a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2015-01-06 07:07:53.000000000 +0200
++++ b/Makefile.in 2015-02-22 02:54:01.523914597 +0200
+@@ -301,6 +301,9 @@
+ @relcount=`find $(DIST)/bin -name '*.so' | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo 'FAILED: R_386_PC32 relocations detected in a shared library. Did you use a system header without adding it to config/system-headers?'; exit 1; else echo 'PASSED'; fi
+ endif
+
++pgo-profile-run:
++ $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
++
+ ifdef JS_STANDALONE
+ # Delegate js-specific rules to js
+ check-%: