blob: ddee51c52354e04a7bf478f32e21018bec6c9954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh -e
# Make build directory
mkdir build
cd build
# Configure gcc
../gcc/configure \
--prefix=/usr/gcc/7-il \
--with-as=/usr/bin/gas \
--with-gnu-as \
--with-ld=/usr/bin/ld \
--without-gnu-ld \
--enable-languages="c,c++,objc" \
--enable-shared \
--disable-bootstrap \
--with-pkgversion="Illumos Edelweiss" \
--with-bugurl="https://github.com/richlowe/gcc/issues"
gmake
gmake DESTDIR="$1" install
|