Module Name: src Committed By: uebayasi Date: Sat Aug 29 04:43:05 UTC 2015
Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Specifiy explicit output (-o) to ${CC}. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/conf/Makefile.kern.inc diff -u src/sys/conf/Makefile.kern.inc:1.196 src/sys/conf/Makefile.kern.inc:1.197 --- src/sys/conf/Makefile.kern.inc:1.196 Thu Aug 27 06:28:09 2015 +++ src/sys/conf/Makefile.kern.inc Sat Aug 29 04:43:05 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.196 2015/08/27 06:28:09 uebayasi Exp $ +# $NetBSD: Makefile.kern.inc,v 1.197 2015/08/29 04:43:05 uebayasi Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -144,18 +144,18 @@ COMPILE_CTFCONVERT= ${_MKSHNOECHO} # NOPROF and SUFFIX is the file suffix, capitalized (e.g. C for a .c file). NORMAL_C?= @${_MKSHMSG} "compile ${.CURDIR:T}/${.TARGET}" && \ ${_MKSHECHO}\ - ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< && \ - ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< && \ + ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< -o $@ && \ + ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< -o $@ && \ ${COMPILE_CTFCONVERT} NOPROF_C?= @${_MKSHMSG} "compile ${.CURDIR:T}/${.TARGET}" && \ ${_MKSHECHO}\ - ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} -c $< && \ - ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} -c $< && \ + ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} -c $< -o $@ && \ + ${CC} ${COPTS.${<:T}} ${CFLAGS} ${CPPFLAGS} -c $< -o $@ && \ ${COMPILE_CTFCONVERT} NORMAL_S?= @${_MKSHMSG} "compile ${.CURDIR:T}/${.TARGET}" && \ ${_MKSHECHO}\ - ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} -c $< && \ - ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} -c $< + ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} -c $< -o $@ && \ + ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} -c $< -o $@ # link rules: LINK_O?= @${_MKSHMSG} " link ${.CURDIR:T}/${.TARGET}" && \