work towards libgccjit support

This commit is contained in:
Mid Favila 2021-12-12 15:40:09 -04:00
parent 20d2477d5b
commit a8671c2268
3 changed files with 24 additions and 45 deletions

View File

@ -43,9 +43,10 @@ export libat_cv_have_ifunc=no
--enable-default-pie \
--enable-default-ssp \
--enable-shared \
--enable-host-shared \
--enable-threads \
--enable-tls \
--enable-languages=c,c++ \
--enable-languages=c,c++,jit \
--without-included-gettext \
--with-zstd=no \
--with-system-zlib \

View File

@ -1,48 +1,19 @@
#!/bin/sh -e
dest="${1}/${HOME}/.config"
for dir in etc
do
mkdir -p "$1/$dir"
cp -r system/$dir/* "$1/$dir"
done
cd misc
for configdots in $(ls user/configdir/)
do
mkdir -p "$1/home/$USER/.config/"
mv user/configdir/$configdots "$1/home/$USER/.config/"
done
for file in *
do
if [ "${file}" = "legacy" ]
then
true
elif [ "${file}" = "$(echo $file | grep -e "\\\\*.sh")" ] || [ "${file}" = "$(echo $file | grep -e "\\\\*.es")" ]
then
install -Dm755 "${file}" "${dest}/fxde/fxde-core/scripts/${file}"
elif [ "${file}" = "xsession" ]
then
install -Dm755 "${file}" "${dest}/../.xsession"
elif [ "${file}" = "esrc" ]
then
install -Dm644 "${file}" "${dest}/../.esrc"
elif [ "${file}" = "init.el" ]
then
install -Dm644 "${file}" "${dest}/emacs/init.el"
elif [ "${file}" = "gtkrc-2.0" ]
then
install -Dm644 "${file}" "${dest}/../.gtkrc-2.0"
else
install -Dm755 "${file}" "${dest}/fxde/fxde-core/config/${file}"
fi
done
cd ../terminal
for file in *
do
if [ $(echo ${file}|grep -e "\\\\*yash\\\\*") ]
then
install -Dm644 "${file}" "${dest}/yash/conf/${file}"
else
install -Dm644 "${file}" "${dest}/${file}"
fi
done
cd ../xresources
for file in *
do
install -Dm644 "${file}" "${dest}/xresources/${file}"
done
for homedots in $(ls user/homedir/*)
do
mkdir -p "$1/home/$USER/"
mv $homedots "$1/home/$USER/.$(basename $homedots)"
done

View File

@ -0,0 +1,7 @@
#!/bin/sh -e
if [ $(hostname) == commandante ]
then
sed /etc/asound.conf 's^hw:1,0/hw:0,0/g' > /etc/as
mv /etc/as /etc/asound.conf
fi