You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/unrar/files/unrar-5.2.2-no-auto-clean.p...

18 lines
446 B

if clean runs in parallel with $(OBJECTS), it is possible to build some
objects first, then the clean target fires and deletes some, and then we
try to link and fail.
https://bugs.gentoo.org/528218
--- a/makefile
+++ b/makefile
@@ -118,7 +118,7 @@
clean:
@rm -f *.o *.bak *~
-unrar: clean $(OBJECTS) $(UNRAR_OBJ)
+unrar: $(OBJECTS) $(UNRAR_OBJ)
$(LINK) -o unrar $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
$(STRIP) unrar