Date: Mon, 5 May 2003 14:31:12 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30632 for review Message-ID: <200305052131.h45LVCfG012082@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30632 Change 30632 by peter@peter_daintree on 2003/05/05 14:30:12 GRRRR! Get out the bigger hammer. Eliminate -O from CFLAGS. Affected files ... .. //depot/projects/hammer/lib/libc/stdio/Makefile.inc#8 edit Differences ... ==== //depot/projects/hammer/lib/libc/stdio/Makefile.inc#8 (text+ko) ==== @@ -61,3 +61,22 @@ wprintf.3 vwprintf.3 wprintf.3 vfwprintf.3 wprintf.3 vswprintf.3 MLINKS+=wscanf.3 fwscanf.3 wscanf.3 swscanf.3 wscanf.3 vwscanf.3 \ wscanf.3 vswscanf.3 wscanf.3 vfwscanf.3 + +.if ${MACHINE_ARCH} == "amd64" +.for _file in vfprintf vfwprintf +${_file}.o: ${_file}.c + ${CC} ${CFLAGS:N-O*} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv ${.TARGET}.tmp ${.TARGET} + +${_file}.So: ${_file}.c + ${CC} ${PICFLAG} -DPIC ${CFLAGS:N-O*} -c ${.IMPSRC} -o ${.TARGET} + @${LD} ${LDFLAGS} -o ${.TARGET}.tmp -x -r ${.TARGET} + @mv ${.TARGET}.tmp ${.TARGET} + +${_file}.po: ${_file}.c + ${CC} -pg ${CFLAGS:N-O*} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -o ${.TARGET}.tmp -X -r ${.TARGET} + @mv ${.TARGET}.tmp ${.TARGET} +.endfor +.endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305052131.h45LVCfG012082>