Introduce RANLIBFLAGS to mirror ARFLAGS and add -D to both. This sets
all timestamps in static libraries to 0 so that consecutive builds from the same source, even on different machines, produce identical libraries. MFC after: 3 weeks
This commit is contained in:
@@ -352,7 +352,7 @@ libgcc_eh.a: ${EH_OBJS_T}
|
||||
@${ECHO} building static gcc_eh library
|
||||
@rm -f ${.TARGET}
|
||||
@${AR} ${ARFLAGS} ${.TARGET} `lorder ${EH_OBJS_T} | tsort -q`
|
||||
${RANLIB} ${.TARGET}
|
||||
${RANLIB} ${RANLIBFLAGS} ${.TARGET}
|
||||
|
||||
all: libgcc_eh.a
|
||||
|
||||
@@ -361,7 +361,7 @@ libgcc_eh_p.a: ${EH_OBJS_P}
|
||||
@${ECHO} building profiled gcc_eh library
|
||||
@rm -f ${.TARGET}
|
||||
@${AR} ${ARFLAGS} ${.TARGET} `lorder ${EH_OBJS_P} | tsort -q`
|
||||
${RANLIB} ${.TARGET}
|
||||
${RANLIB} ${RANLIBFLAGS} ${.TARGET}
|
||||
all: libgcc_eh_p.a
|
||||
.endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user