buildsys  Check-in [be77b5bfd8]

Overview
Comment:Delete old .a file before creating a new one.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: be77b5bfd8eb33cb90e68dad73b8cd1764035e7c7ba662c9974ca478ef5bce35
User & Date: js on 2011-09-13 00:33:02
Other Links: manifest | tags
Context
2011-09-13
11:06
Make sure printf does not override $?. check-in: 6b35e061ec user: js tags: trunk
00:33
Delete old .a file before creating a new one. check-in: be77b5bfd8 user: js tags: trunk
00:32
Keep error codes instead of exiting with 1. check-in: 78aa5f93ad user: js tags: trunk
Changes

Modified buildsys.mk.in from [ac6f726e02] to [b9b6beda36].

223
224
225
226
227
228
229

230
231
232
233
234
235
236
	for i in $$ars; do \
		dir=".$$(echo $$i | sed 's/\//_/g').objs"; \
		rm -fr $$dir; \
	done

${STATIC_PIC_LIB} ${STATIC_PIC_LIB_NOINST}: ${EXT_DEPS} ${LIB_OBJS}
	${LINK_STATUS}

	if ${AR} cr $@ ${LIB_OBJS} && ${RANLIB} $@; then \
		${LINK_OK}; \
	else \
		${LINK_FAILED}; \
		rm -f $@; \
	fi








>







223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
	for i in $$ars; do \
		dir=".$$(echo $$i | sed 's/\//_/g').objs"; \
		rm -fr $$dir; \
	done

${STATIC_PIC_LIB} ${STATIC_PIC_LIB_NOINST}: ${EXT_DEPS} ${LIB_OBJS}
	${LINK_STATUS}
	rm -f $@
	if ${AR} cr $@ ${LIB_OBJS} && ${RANLIB} $@; then \
		${LINK_OK}; \
	else \
		${LINK_FAILED}; \
		rm -f $@; \
	fi