gcc: add alternatives group for cc
[ci skip]
This commit is contained in:
parent
f391487c27
commit
b9daff32a5
1 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,7 @@ _isl_version=0.16.1
|
|||
|
||||
pkgname=gcc
|
||||
version=${_majorver}.0
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="The GNU C Compiler"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://gcc.gnu.org"
|
||||
|
@ -29,6 +29,7 @@ nopie=yes
|
|||
lib32disabled=yes
|
||||
bootstrap=yes
|
||||
replaces="gcc-gcj<7.2.0 gcc-gcj-jdk-compat<7.2.0"
|
||||
alternatives="cc:cc:/usr/bin/gcc"
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="perl flex"
|
||||
|
@ -252,8 +253,6 @@ do_install() {
|
|||
ln -sfr ${DESTDIR}/usr/include/c++/${_majorver} \
|
||||
${DESTDIR}/usr/include/c++/${version}
|
||||
|
||||
# cc symlink.
|
||||
ln -sfr ${DESTDIR}/usr/bin/gcc ${DESTDIR}/usr/bin/cc
|
||||
# rpcgen wants /lib/cpp, make a symlink
|
||||
ln -sfr ${DESTDIR}/usr/bin/cpp ${DESTDIR}/usr/lib/cpp
|
||||
|
||||
|
|
Loading…
Reference in a new issue