diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-03-25 13:56:03 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-06-25 17:03:57 +0100 |
commit | 62b0bf0b8b65f16909b0e8d150a9c238cf6eb44a (patch) | |
tree | a8fb57b3a7d2b55edecaab949eb096821a09125e | |
parent | 6ef3cc7da3240bf605a9fa912f14bcd297fd807f (diff) | |
download | cygnal-62b0bf0b8b65f16909b0e8d150a9c238cf6eb44a.tar.gz cygnal-62b0bf0b8b65f16909b0e8d150a9c238cf6eb44a.tar.bz2 cygnal-62b0bf0b8b65f16909b0e8d150a9c238cf6eb44a.zip |
Use .DELETE_ON_ERROR
Use .DELETE_ON_ERROR
Make the fact that we are running dllfixdbg less obscure
-rw-r--r-- | winsup/cygwin/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 7c01df7b8..757d01616 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -665,6 +665,9 @@ maintainer-clean: clean $(LDSCRIPT): $(LDSCRIPT).in $(CC) -E - -P < $^ -o $@ +# always delete target if an error occurs + .DELETE_ON_ERROR: + # Rule to build cygwin.dll $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg $(DLL_OFILES) $(LIBSERVER) $(LIBC) $(LIBM) $(API_VER) Makefile $(VERSION_OFILES) $(CXX) $(CXXFLAGS) \ @@ -674,7 +677,7 @@ $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg $(DLL_OFILES) $(LIBSERVER) $(LIBC) $(LIB -e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) $(VERSION_OFILES) \ $(MALLOC_OBJ) $(LIBSERVER) $(LIBM) $(LIBC) \ -lgcc $(DLL_IMPORTS) -Wl,-Map,cygwin.map - @$(word 2,$^) $(OBJDUMP) $(OBJCOPY) $@ ${patsubst %0.dll,%1.dbg,$@} + $(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $@ ${patsubst %0.dll,%1.dbg,$@} @ln -f $@ new-$(DLL_NAME) # Rule to build libcygwin.a |