diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-18 12:25:16 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-18 12:25:16 (EDT) |
commit | 275c6d69c9e7e3e1d4f7ad18354d2471f16458f1 (patch) | |
tree | 4668216ed40bb32c3b3992937439d3ba2b654a15 /gcc.pkg.in/postinst | |
parent | da6571d75ad299cfbe3984930c86cecf3be29401 (diff) |
Make gcc and g++ target-specific.
Diffstat (limited to 'gcc.pkg.in/postinst')
-rwxr-xr-x | gcc.pkg.in/postinst | 5 |
1 files changed, 5 insertions, 0 deletions
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 |