diff options
Diffstat (limited to 'clang-3.5.1-cygwin-cxa-atexit.patch')
-rw-r--r-- | clang-3.5.1-cygwin-cxa-atexit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang-3.5.1-cygwin-cxa-atexit.patch b/clang-3.5.1-cygwin-cxa-atexit.patch new file mode 100644 index 0000000..ce77f6d --- /dev/null +++ b/clang-3.5.1-cygwin-cxa-atexit.patch @@ -0,0 +1,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) |