diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-07-11 22:22:08 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-07-11 22:22:08 +0000 |
commit | b0742329e6fcd42d9b6aa4b25d255198273cbbc4 (patch) | |
tree | 6767dc3a54d53eaca17ff47bb0ff63aa08962445 /tools/test | |
parent | 0c8682e8ad4adf31b8e89d45a636ff356a58a97e (diff) | |
download | src-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
Diffstat (limited to 'tools/test')
-rw-r--r-- | tools/test/dtrace/Makefile | 2 |
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} |