com php-src: extend check for add_flag: win32/build/c onfutils.js

From: Date: Tue, 01 Mar 2016 08:36:07 +0000
Subject: com php-src: extend check for add_flag: win32/build/c onfutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91204@lists.php.net to get a copy of this message
Commit: 0df2575e9fc7e931951c838cf448e79f96e6eecf Author: Anatol Belski <ab@php.net> Tue, 1 Mar 2016 09:35:00 +0100 Parents: ba9650667693089f0969c57f14bdfe851ae801ae Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0df2575e9fc7e931951c838cf448e79f96e6eecf Log: extend check for add_flag Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 95f7985..dd9bddd 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2156,7 +2156,7 @@ function ADD_FLAG(name, flags, target) match can be done. This will also help to normalize flags and to not to insert duplicates. */ - if (curr_flags.indexOf(" " + flags) >= 0) { + if (curr_flags.indexOf(" " + flags) >= 0 || curr_flags.indexOf(flags + " ") >= 0) { return; }

« previous php.cvs (#91204) next »