summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-07 23:57:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-07 23:57:45 +0000
commit03d8190dd0f6a6b840524ccd5cbbfcc6187dc7a3 (patch)
tree32d6641488ae6c93999da45306a102b13e98803a /gnu
parent9daeefdde04a3baf7292906003f03d7fd3a4efc9 (diff)
use $< instead of $? for ar. Obviously required since the .a file gets
deleted in the same target! bug report sent to cygnus via niklas.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/objc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/objc/Makefile b/gnu/usr.bin/gcc/objc/Makefile
index 36981337585..142948ed328 100644
--- a/gnu/usr.bin/gcc/objc/Makefile
+++ b/gnu/usr.bin/gcc/objc/Makefile
@@ -60,7 +60,7 @@ OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o encoding.o \
libobjc.a: $(OBJC_O)
-rm -f libobjc.a
- $(AR) rc libobjc.a $?
+ $(AR) rc libobjc.a $<
# ranlib is run in the parent directory's makefile.
OBJC_H = hash.h list.h sarray.h objc.h \