diff --git a/reactos/lib/3rdparty/mingw/crtexe.c b/reactos/lib/3rdparty/mingw/crtexe.c
index 273fea363de..d247c8a07c1 100644
--- a/reactos/lib/3rdparty/mingw/crtexe.c
+++ b/reactos/lib/3rdparty/mingw/crtexe.c
@@ -287,9 +287,10 @@ check_managed_app (void)
PIMAGE_OPTIONAL_HEADER64 pNTHeader64;
/* Force to be linked. */
- mingw_initltsdrot_force=1;
- mingw_initltsdyn_force=1;
- mingw_initltssuo_force=1;
+ //TLS sections
+ //mingw_initltsdrot_force=1;
+ //mingw_initltsdyn_force=1;
+ //mingw_initltssuo_force=1;
mingw_initcharmax=1;
pDOSHeader = (PIMAGE_DOS_HEADER) &__ImageBase;
diff --git a/reactos/lib/3rdparty/mingw/mingw.rbuild b/reactos/lib/3rdparty/mingw/mingw.rbuild
index b7ca7386fc7..3d004dc5e52 100644
--- a/reactos/lib/3rdparty/mingw/mingw.rbuild
+++ b/reactos/lib/3rdparty/mingw/mingw.rbuild
@@ -15,7 +15,6 @@
natstart.c
_newmode.c
pesect.c
- tlssup.c
wildcard.c
xtxtmode.c
xncommod.c