Fix up unsafe flag test from previous commit

This commit is contained in:
Jason Perkins 2014-07-29 14:51:17 -04:00
parent 394427a3db
commit 2dfa47c0eb
2 changed files with 2 additions and 5 deletions

View File

@ -220,10 +220,6 @@
-- the .NET Framework. VS sets this flag by default for C# projects.
table.insert(flags, '/noconfig')
if cfg.flags.Unsafe then
table.insert(flags, '/unsafe')
end
if cfg.project.icon then
local fn = project.getrelative(cfg.project, cfg.project.icon)
table.insert(flags, string.format('/win32icon:"%s"', fn))

View File

@ -37,6 +37,7 @@
]]
end
--
-- If the Unsafe flag has been set, it should be specified.
--
@ -45,7 +46,7 @@
flags { "Unsafe" }
prepare()
test.capture [[
FLAGS = /noconfig /unsafe
FLAGS = /unsafe /noconfig
]]
end