default_pre_build &&
cd $SOURCE_DIRECTORY &&
sed -i -e "s/^CFLAGS :=.*/CFLAGS \:= $CFLAGS/" Makefile &&
sed -i -e "s/^LDFLAGS :=.*/LDFLAGS := $LDFLAGS/" Makefile &&
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]] ; then
sed -i -e "s/LDFLAGS) -static/LDFLAGS)/g" Makefile
fi
