milis/talimatname/genel/gcc-go/talimat

35 lines
701 B
Plaintext
Raw Normal View History

2017-04-25 06:18:18 +02:00
# 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
}