From 5cec2b3d3efad41995e215d1e648b76ed9989082 Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Tue, 22 Sep 2015 01:09:40 -0400 Subject: [PATCH] Move Windows specific linkoption under Windows platform section. --- premake5.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/premake5.lua b/premake5.lua index 02728f550..f33d90631 100644 --- a/premake5.lua +++ b/premake5.lua @@ -45,7 +45,6 @@ filter("configurations:Debug") "_NO_DEBUG_HEAP=1", }) runtime("Release") - linkoptions({"/NODEFAULTLIB:MSVCRTD"}) filter("configurations:Release") runtime("Release") @@ -58,7 +57,6 @@ filter("configurations:Release") "LinkTimeOptimization", }) runtime("Release") - linkoptions({"/NODEFAULTLIB:MSVCRTD"}) filter("platforms:Linux") system("linux") @@ -95,8 +93,11 @@ filter("platforms:Windows") "_WIN64=1", "_AMD64=1", }) - -- Ignores complaints about empty obj files: - linkoptions({"/ignore:4006", "/ignore:4221"}) + linkoptions({ + "/ignore:4006", -- Ignores complaints about empty obj files. + "/ignore:4221", + "/NODEFAULTLIB:MSVCRTD" + }) links({ "ntdll", "wsock32",