summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-11 22:22:08 +0000
committerpfg <pfg@FreeBSD.org>2014-07-11 22:22:08 +0000
commitca9ad8c0834ca1b84a4ab44e84a1a4e8d6c20733 (patch)
tree6767dc3a54d53eaca17ff47bb0ff63aa08962445 /tools/test
parent264ec2645a4d1a7a513b2f98ecb21c14bc2a6a16 (diff)
downloadFreeBSD-src-ca9ad8c0834ca1b84a4ab44e84a1a4e8d6c20733.zip
FreeBSD-src-ca9ad8c0834ca1b84a4ab44e84a1a4e8d6c20733.tar.gz
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
Diffstat (limited to 'tools/test')
-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 b14ccab..012a116 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}
OpenPOWER on IntegriCloud