summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-13 16:16:30 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-13 16:16:30 +0000
commit61f52169b4b5bd3388d80deea7694639ebaa9d4e (patch)
tree1c009b7d7928662a00cf610e735dbde43609ec49 /gcc/objc
parenta220cccef3e74d3735cbcdd54519e6fef36b2922 (diff)
downloadgcc-61f52169b4b5bd3388d80deea7694639ebaa9d4e.tar.gz
* Makefile.in (c-parse.c, tradcif.c): Create atomically.
* objc/Make-lang.in (objc-parse.c): Likewise. cp: * Makefile.in (parse.c, parse.h): Create atomically. java: * Make-lang.in (parse.c, parse-scan.c): Create atomically. * Makefile.in (parse.c, parse-scan.c): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36861 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/Make-lang.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
index 920683815e4..049c3060aa7 100644
--- a/gcc/objc/Make-lang.in
+++ b/gcc/objc/Make-lang.in
@@ -75,7 +75,8 @@ objc-parse.o : $(srcdir)/objc/objc-parse.c \
$(INTL_TARGETS): $(srcdir)/objc/objc-parse.c
$(srcdir)/objc/objc-parse.c : $(srcdir)/objc/objc-parse.y
cd $(srcdir)/objc; \
- $(BISON) $(BISONFLAGS) -o objc-parse.c objc-parse.y
+ $(BISON) $(BISONFLAGS) -o op$$$$.c objc-parse.y ; \
+ mv -f op$$$$.c objc-parse.c
$(srcdir)/objc/objc-parse.y: $(srcdir)/c-parse.in
echo '/*WARNING: This file is automatically generated!*/' >tmp-objc-prs.y