mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Merge intel fixes from trunk.
[SVN r33551]
This commit is contained in:
@@ -27,7 +27,12 @@ toolset.inherit-flags intel-linux : gcc
|
||||
: <inlining>off <inlining>on <inlining>full <optimization>space
|
||||
<warnings>off <warnings>all <warnings>on
|
||||
;
|
||||
|
||||
|
||||
if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ]
|
||||
{
|
||||
.debug-configuration = true ;
|
||||
}
|
||||
|
||||
# Initializes the intel-linux toolset
|
||||
# version in mandatory
|
||||
# name (default icc) is used to invoke the specified intellinux complier
|
||||
@@ -46,12 +51,12 @@ rule init ( version ? : command * : options * )
|
||||
|
||||
local root = [ feature.get-values <root> : $(options) ] ;
|
||||
local bin ;
|
||||
if $(command)
|
||||
if $(command) || $(root)
|
||||
{
|
||||
bin ?= [ common.get-absolute-tool-path $(command[-1]) ] ;
|
||||
root ?= $(bin:D) ;
|
||||
|
||||
if $(command)
|
||||
if $(root)
|
||||
{
|
||||
local lib_path = $(root)/lib ;
|
||||
if $(.debug-configuration)
|
||||
|
||||
@@ -117,11 +117,15 @@ rule init ( version ? : # the compiler version
|
||||
{
|
||||
C++FLAGS +=
|
||||
-Qoption,cpp,--arg_dep_lookup
|
||||
-Qoption,cpp,--const_string_literals
|
||||
-Qoption,cpp,--new_for_init
|
||||
-Qoption,cpp,--no_implicit_typename
|
||||
-Qoption,cpp,--no_friend_injection
|
||||
-Qoption,cpp,--no_microsoft_bugs
|
||||
# The following options were intended to disable
|
||||
# 'bug-emulation' mode of intel compiler, but later
|
||||
# were reported to case ICE with Intel-Win 9.0
|
||||
# It's not yet clear which options can be safely used.
|
||||
# -Qoption,cpp,--const_string_literals
|
||||
# -Qoption,cpp,--new_for_init
|
||||
# -Qoption,cpp,--no_implicit_typename
|
||||
# -Qoption,cpp,--no_friend_injection
|
||||
# -Qoption,cpp,--no_microsoft_bugs
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user