summaryrefslogtreecommitdiffstats
path: root/clang-3.5.1-cygwin-cxa-atexit.patch
blob: ce77f6d585eaaa1f33d86183e6bb93d6a2bcca53 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- origsrc/llvm-3.5.1.src/tools/clang/lib/Driver/Tools.cpp	2014-08-06 23:51:51.000000000 -0500
+++ src/llvm-3.5.1.src/tools/clang/lib/Driver/Tools.cpp	2015-05-01 00:00:53.669704600 -0500
@@ -3887,7 +3887,7 @@ void Clang::ConstructJob(Compilation &C,
   // -fuse-cxa-atexit is default.
   if (!Args.hasFlag(options::OPT_fuse_cxa_atexit,
                     options::OPT_fno_use_cxa_atexit,
-                    !IsWindowsCygnus && !IsWindowsGNU &&
+                    !IsWindowsGNU &&
                     getToolChain().getArch() != llvm::Triple::hexagon &&
                     getToolChain().getArch() != llvm::Triple::xcore) ||
       KernelOrKext)