PERFORCE change 30632 for review

Peter Wemm peter at FreeBSD.org
Mon May 5 14:31:14 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=30632

Change 30632 by peter at 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


More information about the p4-projects mailing list