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
This commit is contained in:
parent
0c8682e8ad
commit
b0742329e6
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user