MFC r268538:

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
This commit is contained in:
pfg 2014-07-14 15:54:50 +00:00
parent f954fcf135
commit 9f7a264369

View File

@ -340,7 +340,7 @@ listprgs :
.for _f in ${ALL_TESTCFILES}
${_f:T:S/c$/exe/} : ${_f}
gcc -o ${.TARGET} ${_f} -lrt
${CC} -o ${.TARGET} ${_f} -lrt
.endfor
listcfiles :