Adds a notice about a known issue in premake4.lua with the icc compiler

Refs #2994

This was SVN commit r16132.
This commit is contained in:
Yves 2015-01-09 12:48:42 +00:00
parent 5cf2086a33
commit c681174fad

View File

@ -242,6 +242,9 @@ function project_set_build_flags()
end
else -- *nix
-- TODO, FIXME: This check is incorrect because it means that some additional flags will be added inside the "else" branch if the
-- compiler is ICC and minimal-flags is specified (ticket: #2994)
if cc == "icc" and not _OPTIONS["minimal-flags"] then
buildoptions {
"-w1",