diff options
author | 2007-11-28 12:41:44 +0000 | |
---|---|---|
committer | 2007-11-28 12:41:44 +0000 | |
commit | 4b4b032e19ea0ee0c04e8fc76aedd62191204a28 (patch) | |
tree | 9dd7dc5a2c5ca852a6661310c0a8eed98c8e40bb | |
parent | Use cas/casx instead of casa/casxa. (diff) | |
download | wireguard-openbsd-4b4b032e19ea0ee0c04e8fc76aedd62191204a28.tar.xz wireguard-openbsd-4b4b032e19ea0ee0c04e8fc76aedd62191204a28.zip |
fix race: install-all can only be run *after* all is finished, otherwise
we may end up installing gdb while it's been rm -f.
okay kettenis@
-rw-r--r-- | gnu/usr.bin/binutils/gdb/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile.in b/gnu/usr.bin/binutils/gdb/Makefile.in index abcaf2f7e09..24aaabf1fcd 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile.in +++ b/gnu/usr.bin/binutils/gdb/Makefile.in @@ -1018,7 +1018,9 @@ gdb.z:gdb.1 # source file and doesn't care about rebuilding or just wants to save the # time it takes for make to check that all is up to date. # install-only is intended to address that need. -install: all install-only +install: all + @exec ${MAKE} install-only + install-only: $(CONFIG_INSTALL) transformed_name=`t='$(program_transform_name)'; \ echo gdb | sed -e "$$t"` ; \ |