diff options
author | pfg <pfg@FreeBSD.org> | 2014-07-14 15:54:50 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-07-14 15:54:50 +0000 |
commit | 9f7a2643694de11999b4f787fc6f9bc7fd56a9ea (patch) | |
tree | b9394e29243a45bb5ef24d55c23c43268227795d /tools | |
parent | f954fcf135f4a9d9197ed1c1294fad01b481237e (diff) | |
download | FreeBSD-src-9f7a2643694de11999b4f787fc6f9bc7fd56a9ea.zip FreeBSD-src-9f7a2643694de11999b4f787fc6f9bc7fd56a9ea.tar.gz |
MFC r268538:
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
Diffstat (limited to 'tools')
-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 c9e9a20..c82d6f7 100644 --- a/tools/test/dtrace/Makefile +++ b/tools/test/dtrace/Makefile @@ -340,7 +340,7 @@ listprgs : .for _f in ${ALL_TESTCFILES} ${_f:T:S/c$/exe/} : ${_f} - gcc -o ${.TARGET} ${_f} -lrt + ${CC} -o ${.TARGET} ${_f} -lrt .endfor listcfiles : |