PERFORCE change 222717 for review

Brooks Davis brooks at FreeBSD.org
Fri Mar 8 05:42:05 UTC 2013


http://p4web.freebsd.org/@@222717?ac=10

Change 222717 by brooks at brooks_zenith on 2013/03/08 05:41:38

	Generate the right files when build .bc files.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/share/mk/bsd.lib.mk#4 edit
.. //depot/projects/ctsrd/tesla/src/share/mk/bsd.prog.mk#5 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/share/mk/bsd.lib.mk#4 (text+ko) ====

@@ -168,7 +168,7 @@
 .if empty(OPT_PASSES)
 	cp lib${LIB}.bc ${.TARGET}
 .else
-	${OPT} -o ${.TARGET} ${OPT_PASSES} ${.ALLSRC}
+	${OPT} -o ${.TARGET} ${OPT_PASSES} lib${LIB}.bc
 .endif
 
 .endif

==== //depot/projects/ctsrd/tesla/src/share/mk/bsd.prog.mk#5 (text+ko) ====

@@ -124,7 +124,7 @@
 .if empty(OPT_PASSES)
 	cp ${PROG}.bc ${.TARGET}
 .else
-	${OPT} -o ${.TARGET} ${OPT_PASSES} ${.IMPSRC}
+	${OPT} -o ${.TARGET} ${OPT_PASSES} ${PROG}.bc
 .endif
 .endif
 .endif


More information about the p4-projects mailing list