svn commit: r268538 - head/tools/test/dtrace
Pedro F. Giffuni
pfg at FreeBSD.org
Fri Jul 11 22:22:09 UTC 2014
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}
More information about the svn-src-head
mailing list