com php-src: turn off PGO in phpize mode: win32/build/confutils.js
| From: | Anatol Belski | Date: | Thu, 10 Jul 2014 17:35:26 +0000 |
| Subject: | com php-src: turn off PGO in phpize mode: win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79372@lists.php.net to get a copy of this message | ||
Commit: e2b0d97950cf4968432dce7f0d270f30e7e72fd7
Author: Anatol Belski <ab@php.net> Thu, 10 Jul 2014 19:35:26 +0200
Parents: a34288fa1abef63e3d8f73ac3fb58f88cfd898a6
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e2b0d97950cf4968432dce7f0d270f30e7e72fd7
Log:
turn off PGO in phpize mode
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 490f864..7202b4d 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1022,6 +1022,11 @@ function is_pgo_desired(mod)
{
var varname = "PHP_" + mod.toUpperCase() + "_PGO";
+ /* XXX enable PGO in phpize mode */
+ if (MODE_PHPIZE) {
+ return false;
+ }
+
/* don't disable if there's no mention of the varname */
if (eval("typeof " + varname + " == 'undefined'")) {
return true;