Date: Tue, 6 Jan 2015 23:08:48 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276770 - head/sys/conf Message-ID: <201501062308.t06N8mDI089395@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue Jan 6 23:08:47 2015 New Revision: 276770 URL: https://svnweb.freebsd.org/changeset/base/276770 Log: Fix typo from too many cut-n-paste operations. Use IMPSRC:T to just get the tail part of the path. We can now build kernels the old-fashioned way on FreeBSD 9.x and 10.x on at least amd64 using clang 3.3, 3.4 or gcc 4.2.1 (though with the latter you need WITHOUT_MODULES="aesni vmm cxgbe" due to various issues with gcc 4.2.1). Modified: head/sys/conf/kern.mk head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Tue Jan 6 23:04:41 2015 (r276769) +++ head/sys/conf/kern.mk Tue Jan 6 23:08:47 2015 (r276770) @@ -176,7 +176,7 @@ CFLAGS+= -gdwarf-2 .endif CFLAGS+= ${CWARNEXTRA} ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}} -CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC}} +CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}} # Tell bmake not to mistake standard targets for things to be searched for # or expect to ever be up-to-date. Modified: head/sys/conf/kern.pre.mk ============================================================================== --- head/sys/conf/kern.pre.mk Tue Jan 6 23:04:41 2015 (r276769) +++ head/sys/conf/kern.pre.mk Tue Jan 6 23:08:47 2015 (r276770) @@ -103,7 +103,7 @@ CFLAGS.gcc+=${CFLAGS_ARCH_PARAMS} WERROR?= -Werror # XXX LOCORE means "don't declare C stuff" not "for locore.s". -ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC}} +ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC:T}} .if defined(PROFLEVEL) && ${PROFLEVEL} >= 1 CFLAGS+= -DGPROF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501062308.t06N8mDI089395>