com php-src: pass vc++ version to clang, that will be forwarded to _MSC_VER: win32/build/confutils.js

From: Date: Thu, 13 Nov 2014 10:20:09 +0000
Subject: com php-src: pass vc++ version to clang, that will be forwarded to _MSC_VER: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83078@lists.php.net to get a copy of this message
Commit: b6c8349be0410090874e8ace322b2bdb1e2e52a7 Author: Anatol Belski <ab@php.net> Thu, 13 Nov 2014 11:20:09 +0100 Parents: 191fe09e33226ddd7f4e52a0b9143db2be156f96 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b6c8349be0410090874e8ace322b2bdb1e2e52a7 Log: pass vc++ version to clang, that will be forwarded to _MSC_VER Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils..js index 59a522c..f201f48 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2604,6 +2604,9 @@ function toolset_setup_common_cflags() ADD_FLAG('CFLAGS', '-m32'); } ADD_FLAG("CFLAGS", " /fallback "); + + var vc_ver = probe_binary(PATH_PROG('cl', null)); + ADD_FLAG("CFLAGS", "-fms-compatibility-version=" + vc_ver); } }

« previous php.cvs (#83078) next »