mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
llvm: add alternatives group for cc
[ci skip]
This commit is contained in:
parent
b9daff32a5
commit
0f46eae1f0
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'llvm'
|
# Template file for 'llvm'
|
||||||
pkgname=llvm
|
pkgname=llvm
|
||||||
version=6.0.0
|
version=6.0.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="llvm-${version}.src"
|
wrksrc="llvm-${version}.src"
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -188,6 +188,7 @@ clang_package() {
|
||||||
*) depends+=" glibc-devel";;
|
*) depends+=" glibc-devel";;
|
||||||
esac
|
esac
|
||||||
short_desc+=" - C language family frontend"
|
short_desc+=" - C language family frontend"
|
||||||
|
alternatives="cc:cc:/usr/bin/clang"
|
||||||
homepage="http://clang.llvm.org/"
|
homepage="http://clang.llvm.org/"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/clang
|
vmove usr/include/clang
|
||||||
|
|
Loading…
Add table
Reference in a new issue