Author: pfg
Date: Fri Jul 11 22:22:08 2014
New Revision: 268538
URL: http://svnweb.freebsd.org/changeset/base/268538
Log:
Avoid hardcoding "gcc" in the DTrace tests.
At least one test doesn't work yet without gcc, however gcc is
not always available in base. Using the environment compiler
is more trustable and will also work with an external compiler.
Reviewed by: markj
MFC after: 3 days
Modified:
head/tools/test/dtrace/Makefile
Modified: head/tools/test/dtrace/Makefile
==============================================================================
--- head/tools/test/dtrace/Makefile Fri Jul 11 21:15:40 2014 (r268537)
+++ head/tools/test/dtrace/Makefile Fri Jul 11 22:22:08 2014 (r268538)
@@ -337,7 +337,7 @@ listprgs :
.for _f in ${ALL_TESTCFILES}
${_f:T:S/c$/exe/} : ${_f}
- gcc -o ${.TARGET} ${_f} -lrt
+ ${CC} -o ${.TARGET} ${_f} -lrt
.endfor
.for _f in ${ALL_TESTEXEFILES}
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"