35 lines
701 B
Plaintext
35 lines
701 B
Plaintext
# Description: go (1.4) GNU derleyici kütüphane ve ikili dosyaları-go bootstrap
|
||
# URL: http://gcc.gnu.org
|
||
# Packagers: milisarge@gmail.com
|
||
# Depends on:
|
||
|
||
name=gcc-go
|
||
version=5.3.0
|
||
release=1
|
||
|
||
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
|
||
|
||
build() {
|
||
cd gcc-$version
|
||
mkdir -v ../gcc-build
|
||
cd ../gcc-build
|
||
|
||
SED=sed \
|
||
../gcc-$version/configure \
|
||
--enable-threads=posix \
|
||
--enable-shared \
|
||
--enable-__cxa_atexit \
|
||
--enable-languages=c,c++,go \
|
||
--enable-secureplt \
|
||
--enable-checking=yes \
|
||
--with-long-double-128 \
|
||
--enable-decimal-float \
|
||
--disable-bootstrap \
|
||
--disable-alsa \
|
||
--disable-multilib \
|
||
--prefix=/usr/local/gccgo
|
||
|
||
make
|
||
make DESTDIR=$PKG install
|
||
}
|