summaryrefslogtreecommitdiff
path: root/gcc-7-il/build
diff options
context:
space:
mode:
authorAlejandro W. Sior <aho@sior.be>2023-02-02 22:39:22 +0100
committerAlejandro W. Sior <aho@sior.be>2023-02-02 22:39:22 +0100
commit564e5211a5085e10680b2bf3553c7b8a97bdff94 (patch)
tree7d3aada26757690ab5d275b43f160c1f4c0fde49 /gcc-7-il/build
parent4edb61cb73c4178a57f17c5febfddf006eb31a32 (diff)
gcc-7-il: new package at version 7.5.0-il-1
Diffstat (limited to 'gcc-7-il/build')
-rw-r--r--gcc-7-il/build21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc-7-il/build b/gcc-7-il/build
new file mode 100644
index 0000000..ddee51c
--- /dev/null
+++ b/gcc-7-il/build
@@ -0,0 +1,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