mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 11:38:16 +00:00
clang alternatives are managed by llvm-defaults
This commit is contained in:
parent
67238606eb
commit
595b3ec63e
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -8,6 +8,7 @@ llvm-toolchain-snapshot (1:3.6~svn214630-1~exp1) experimental; urgency=medium
|
|||||||
* Refresh of the patches
|
* Refresh of the patches
|
||||||
* Install yaml2obj, obj2yaml & verify-uselistorder in llvm-3.6
|
* Install yaml2obj, obj2yaml & verify-uselistorder in llvm-3.6
|
||||||
* Remove of pollycc
|
* Remove of pollycc
|
||||||
|
* clang alternatives are managed by llvm-defaults
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 31 Jul 2014 08:42:35 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 31 Jul 2014 08:42:35 +0200
|
||||||
|
|
||||||
|
31
debian/clang-X.Y.postinst.in
vendored
31
debian/clang-X.Y.postinst.in
vendored
@ -1,31 +0,0 @@
|
|||||||
#! /bin/sh -e
|
|
||||||
|
|
||||||
prio=10
|
|
||||||
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/c++ \
|
|
||||||
c++ \
|
|
||||||
/usr/bin/clang++ \
|
|
||||||
$prio
|
|
||||||
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/cc \
|
|
||||||
cc \
|
|
||||||
/usr/bin/clang \
|
|
||||||
$prio
|
|
||||||
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/c89 \
|
|
||||||
c89 \
|
|
||||||
/usr/bin/clang \
|
|
||||||
$prio
|
|
||||||
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/c99 \
|
|
||||||
c99 \
|
|
||||||
/usr/bin/clang \
|
|
||||||
$prio
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
14
debian/clang-X.Y.prerm.in
vendored
14
debian/clang-X.Y.prerm.in
vendored
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
|
|
||||||
update-alternatives --quiet --remove cc /usr/bin/clang
|
|
||||||
update-alternatives --quiet --remove c89 /usr/bin/clang
|
|
||||||
update-alternatives --quiet --remove c99 /usr/bin/clang
|
|
||||||
update-alternatives --quiet --remove c++ /usr/bin/clang++
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
Loading…
Reference in New Issue
Block a user