Skip to content

Commit

Permalink
Fix CONFIG_CXX which was broken by the toolchain revamp two days ago.
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Jun 20, 2015
1 parent ebd973c commit fb8de80
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build-rr.sh
Expand Up @@ -202,9 +202,6 @@ builduserspace ()
if havecxx; then
( cd lib/librumprun_unwind
${RUMPMAKE} dependall && ${RUMPMAKE} install )
CONFIG_CXX=yes
else
CONFIG_CXX=no
fi
}

Expand Down Expand Up @@ -239,7 +236,6 @@ makeconfigmk ()

echo "BUILDRUMP=${BUILDRUMP}" > ${1}
echo "RUMPSRC=${RUMPSRC}" >> ${1}
echo "CONFIG_CXX=${CONFIG_CXX}" >> ${1}
echo "RUMPMAKE=${RUMPMAKE}" >> ${1}
echo "BUILDRUMP_TOOLFLAGS=$(pwd)/${RUMPTOOLS}/toolchain-conf.mk" >> ${1}
echo "MACHINE=${MACHINE}" >> ${1}
Expand All @@ -251,7 +247,12 @@ makeconfigmk ()
done

# c++ is optional, wrap it iff available
havecxx && wraponetool ${1} CXX
if havecxx; then
echo "CONFIG_CXX=yes" >> ${1}
wraponetool ${1} CXX
else
echo "CONFIG_CXX=no" >> ${1}
fi
}


Expand Down

0 comments on commit fb8de80

Please sign in to comment.