#! /bin/sh

if [ "x${1}" = 'xconfigure' ]; then
	if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
		ln -sf @PKG_TARGET_ARCH@-gcc /usr/bin/gcc
		update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 20
	fi
fi