From 275c6d69c9e7e3e1d4f7ad18354d2471f16458f1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 18 May 2013 12:25:16 -0400 Subject: Make gcc and g++ target-specific. --- (limited to 'gcc.pkg.in/postinst') diff --git a/gcc.pkg.in/postinst b/gcc.pkg.in/postinst new file mode 100755 index 0000000..9fd34c0 --- /dev/null +++ b/gcc.pkg.in/postinst @@ -0,0 +1,5 @@ +#! /bin/sh + +if [ "${1}" = configure ]; then + update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 20 +fi -- cgit v0.9.1