diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.h b/reactos/tools/rbuild/backend/mingw/modulehandler.h index a000c2ad847..bc6dfb7a6f8 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.h +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.h @@ -278,7 +278,7 @@ public: virtual HostType DefaultHost() { return HostFalse; } virtual void Process (); std::string TypeSpecificCFlags() { return "-D_SEH_NO_NATIVE_NLG"; } - std::string TypeSpecificLinkerFlags() { return "-nostartfiles -nostdlib"; } + std::string TypeSpecificLinkerFlags() { return "-nostartfiles"; } private: void GenerateKernelModeDLLModuleTarget (); }; @@ -291,7 +291,7 @@ public: virtual HostType DefaultHost() { return HostFalse; } virtual void Process (); std::string TypeSpecificCFlags() { return "-D__NTDRIVER__ -D_SEH_NO_NATIVE_NLG"; } - std::string TypeSpecificLinkerFlags() { return "-nostartfiles -nostdlib"; } + std::string TypeSpecificLinkerFlags() { return "-nostartfiles"; } private: void GenerateKernelModeDriverModuleTarget (); };