diff options
author | pfg <pfg@FreeBSD.org> | 2014-07-11 22:22:08 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-07-11 22:22:08 +0000 |
commit | ca9ad8c0834ca1b84a4ab44e84a1a4e8d6c20733 (patch) | |
tree | 6767dc3a54d53eaca17ff47bb0ff63aa08962445 /tools/test | |
parent | 264ec2645a4d1a7a513b2f98ecb21c14bc2a6a16 (diff) | |
download | FreeBSD-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/Makefile | 2 |
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} |