Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 05:21: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: r264399 - head/share/mk
Message-ID:  <201404130521.s3D5Lmv9052634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Apr 13 05:21:48 2014
New Revision: 264399
URL: http://svnweb.freebsd.org/changeset/base/264399

Log:
  Don't apply ctf conversions in POSIX mode. These can't happen there
  because they pollute the POSIX environment, which doens't allow
  for these extentions. ctf conversions are really only relevant when
  used in coordination with the rest of the bsd*.mk system anyway.
  Leave them in place for the normal, non-posix enviornment since
  they are quite useful there.

Modified:
  head/share/mk/sys.mk

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk	Sun Apr 13 05:21:43 2014	(r264398)
+++ head/share/mk/sys.mk	Sun Apr 13 05:21:48 2014	(r264399)
@@ -171,11 +171,9 @@ YFLAGS		?=	-d
 # SINGLE SUFFIX RULES
 .c:
 	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC}
-	${CTFCONVERT_CMD}
 
 .f:
 	${FC} ${FFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC}
-	${CTFCONVERT_CMD}
 
 .sh:
 	cp -f ${.IMPSRC} ${.TARGET}
@@ -185,25 +183,21 @@ YFLAGS		?=	-d
 
 .c.o:
 	${CC} ${CFLAGS} -c ${.IMPSRC}
-	${CTFCONVERT_CMD}
 
 .f.o:
 	${FC} ${FFLAGS} -c ${.IMPSRC}
-	${CTFCONVERT_CMD}
 
 .y.o:
 	${YACC} ${YFLAGS} ${.IMPSRC}
 	${CC} ${CFLAGS} -c y.tab.c
 	rm -f y.tab.c
 	mv y.tab.o ${.TARGET}
-	${CTFCONVERT_CMD}
 
 .l.o:
 	${LEX} ${LFLAGS} ${.IMPSRC}
 	${CC} ${CFLAGS} -c lex.yy.c
 	rm -f lex.yy.c
 	mv lex.yy.o ${.TARGET}
-	${CTFCONVERT_CMD}
 
 .y.c:
 	${YACC} ${YFLAGS} ${.IMPSRC}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404130521.s3D5Lmv9052634>