Index: bfd/cache.c |
diff --git a/bfd/cache.c b/bfd/cache.c |
index cf1869d0ed5c1139a67f78d9195b1034b58e80eb..f8c2c432d3ab99d2185cf53ac1b4a5ae8f9b9597 100644 |
--- a/bfd/cache.c |
+++ b/bfd/cache.c |
@@ -565,7 +565,7 @@ bfd_open_file (bfd *abfd) |
So we unlink the output file if and only if it has |
non-zero size. */ |
-#ifndef __MSDOS__ |
+#if !defined __MSDOS__ && !defined __native_client__ |
/* Don't do this for MSDOS: it doesn't care about overwriting |
a running binary, but if this file is already open by |
another BFD, we will be in deep trouble if we delete an |