aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2014-07-11 22:22:08 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2014-07-11 22:22:08 +0000
commitb0742329e6fcd42d9b6aa4b25d255198273cbbc4 (patch)
tree6767dc3a54d53eaca17ff47bb0ff63aa08962445
parent0c8682e8ad4adf31b8e89d45a636ff356a58a97e (diff)
downloadsrc-b0742329e6fcd42d9b6aa4b25d255198273cbbc4.tar.gz
src-b0742329e6fcd42d9b6aa4b25d255198273cbbc4.zip
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
Notes
Notes: svn path=/head/; revision=268538
-rw-r--r--tools/test/dtrace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/dtrace/Makefile b/tools/test/dtrace/Makefile
index b14ccab1e71a..012a116097f6 100644
--- a/tools/test/dtrace/Makefile
+++ b/tools/test/dtrace/Makefile
@@ -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}