Author: pfg
Date: Mon Jul 14 15:54:50 2014
New Revision: 268622
URL: http://svnweb.freebsd.org/changeset/base/268622

Log:
  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

Modified:
  stable/10/tools/test/dtrace/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/tools/test/dtrace/Makefile
==============================================================================
--- stable/10/tools/test/dtrace/Makefile        Mon Jul 14 14:33:03 2014        
(r268621)
+++ stable/10/tools/test/dtrace/Makefile        Mon Jul 14 15:54:50 2014        
(r268622)
@@ -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     :
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to