Commit 124135cb authored by Claes's avatar Claes

cc fetched from pwre_cc

parent f05ac6bb
......@@ -37,7 +37,11 @@ then
then
ar_name_pict=${pwrp_lib}/ra_rtt_${pgmname}_pict.a
cc=arm-linux-gnueabi-gcc-4.3
if [ -z $pwre_cc ]; then
cc=arm-linux-gnueabi-gcc
else
cc=$pwre_cc
fi
cinc="-I$pwr_inc -I$pwrp_rttbld"
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o $pwrp_obj/${name}.o $pwrp_rttbld/${name}.c ${cinc} ${cflags}
......@@ -48,7 +52,11 @@ then
bld_dir=$pwre_broot/$pwre_os/$pwre_hw/bld/lib/dtt
# echo $ar_name $ar_name_pict
cc=arm-linux-gnueabi-gcc-4.3
if [ -z $pwre_cc ]; then
cc=arm-linux-gnueabi-gcc
else
cc=$pwre_cc
fi
cinc="-I$pwr_inc -I${bld_dir}"
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o ${bld_dir}/${name}.o \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment