Revision 50567afa configure

View differences:

configure
995 995
    cc
996 996
    cpu
997 997
    cross_prefix
998
    dep_cc
998 999
    extra_version
999 1000
    host_cc
1000 1001
    host_cflags
......
1269 1270

  
1270 1271
# gcc stupidly only outputs the basename of targets with -MM, but we need the
1271 1272
# full relative path for objects in subdirectories for non-recursive Make.
1272
DEPEND_CMD='$(CC) $(CPPFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
1273
DEPEND_CMD='$(DEPCC) $(CPPFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
1273 1274

  
1274 1275
# find source path
1275 1276
source_path="$(dirname "$0")"
......
1487 1488

  
1488 1489
test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
1489 1490

  
1491
: ${dep_cc_default:=$cc}
1490 1492
: ${ld_default:=$cc}
1491
set_default as ld
1493
set_default as dep_cc ld
1492 1494

  
1493 1495
if test -n "$sysroot"; then
1494 1496
    case "$cc_type" in
......
2480 2482
echo "CC=$cc" >> config.mak
2481 2483
echo "AS=$as" >> config.mak
2482 2484
echo "LD=$ld" >> config.mak
2485
echo "DEPCC=$dep_cc" >> config.mak
2483 2486
echo "YASM=$yasmexe" >> config.mak
2484 2487
echo "AR=$ar" >> config.mak
2485 2488
echo "RANLIB=$ranlib" >> config.mak

Also available in: Unified diff