Browse Source

Updated osmia

master
dirkson 3 years ago
parent
commit
790b5b6a92
  1. 7
      build

7
build

@ -209,7 +209,10 @@ else
fi
fi
if [ ! -x "$(command -v ccache)" ]; then
echo "osmia: ccache not installed. Installing it could speed the build up. Hint Hint.";
CACHE=""
echo "osmia: ccache not installed. Installing it could speed the build up. Hint Hint."
else
CACHE="ccache"
fi
if [ "$#" -gt 2 ]; then
@ -238,7 +241,7 @@ mkdir -p $BUILDDIR 2> /dev/null
#MESONOPTS=MESONOPTS:"-Dc_args=$3"
if [ ! -d "$BUILDDIR/$DIR" ]; then
export CC="$COMPILER"
export CC="$CACHE $COMPILER"
#Run meson if required
mkdir $BUILDDIR/$DIR
meson $BUILDDIR/$DIR $MESONOPTS --buildtype $BLD

Loading…
Cancel
Save