Revision d8059267

View differences:

configure
1277 1277

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

  
1282 1283
# find source path
1283 1284
source_path="$(dirname "$0")"
......
1474 1475
    cc_type=xlc
1475 1476
elif $cc -V 2>/dev/null | grep -q Compaq; then
1476 1477
    cc_type=ccc
1477
    DEPEND_CMD='$(CC) $(CPPFLAGS) -M $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
1478
    DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -M'
1478 1479
    debuglevel=3
1479 1480
    add_ldflags -Wl,-z,now # calls to libots crash without this
1480 1481
elif $cc --vsn 2>/dev/null | grep -q RVCT; then
......
2525 2526
echo "EXESUF=$EXESUF" >> config.mak
2526 2527
echo "EXTRA_VERSION=$extra_version" >> config.mak
2527 2528
echo "DEPEND_CMD=$DEPEND_CMD" >> config.mak
2529
echo "DEPFLAGS=$DEPFLAGS" >> config.mak
2528 2530
echo "HOSTCC=$host_cc" >> config.mak
2529 2531
echo "HOSTCFLAGS=$host_cflags" >> config.mak
2530 2532
echo "HOSTEXESUF=$HOSTEXESUF" >> config.mak

Also available in: Unified diff