make/Init.gmk
changeset 36050 f6590b6e5e97
parent 35744 4f5e0998b6e9
child 37649 3809534d4531
--- a/make/Init.gmk	Wed Jul 05 21:22:47 2017 +0200
+++ b/make/Init.gmk	Mon Feb 22 11:22:55 2016 +0100
@@ -154,6 +154,9 @@
           # Do nothing
         endif
 
+    # Do not let make delete spec files even if aborted while doing a reconfigure
+    .PRECIOUS: $(SPECS)
+
     # Unless reconfigure is explicitely called, let all main targets depend on
     # the spec files to be up to date.
     ifeq ($(findstring reconfigure, $(INIT_TARGETS)), )