remove c++14 for msvc/boost

pull/18/head
ruki 6 years ago
parent 5ac17a2ea2
commit 1b836091aa
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 5
      packages/b/boost/xmake.lua

@ -97,8 +97,7 @@ package("boost")
"install",
"threading=" .. (package:config("multi") and "multi" or "single"),
"debug-symbols=" .. (package:debug() and "on" or "off"),
"link=static",
"cxxflags=-std=c++14"
"link=static"
}
local arch = package:arch()
if arch == "x64" or arch == "x86_64" then
@ -113,6 +112,8 @@ package("boost")
else
table.insert(argv, "runtime-link=shared")
end
else
table.insert(argv, "cxxflags=-std=c++14")
end
if is_host("windows") then
os.vrunv("bootstrap.bat", bootstrap_argv)

Loading…
Cancel
Save