summaryrefslogtreecommitdiff
path: root/build-essential/gcc.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
commit2deabedb6e998d3bd96fd910617461a24a11d73b (patch)
treec61c71fda6768404ccfde568d9fcb36c2e787f52 /build-essential/gcc.morph
parent895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff)
downloaddefinitions-baserock/adamcoldrick/chunks-in-definitions.tar.gz
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the stratum containing each chunk. Also add a repo and ref field to the chunk morphologies. Any chunks which did not previously have chunk morphologies have now had a morphology generated.
Diffstat (limited to 'build-essential/gcc.morph')
-rw-r--r--build-essential/gcc.morph42
1 files changed, 42 insertions, 0 deletions
diff --git a/build-essential/gcc.morph b/build-essential/gcc.morph
new file mode 100644
index 00000000..e264da78
--- /dev/null
+++ b/build-essential/gcc.morph
@@ -0,0 +1,42 @@
+name: build-essential/gcc.morph
+kind: chunk
+repo: upstream:gcc-tarball
+ref: dd78b627480ed8d3c135271cd627096ae76fa5fc
+configure-commands:
+- mkdir o
+- |
+ cd o && \
+ ../configure \
+ $(../morph-arch-config) \
+ --prefix="$PREFIX" \
+ `# [1]` --libdir=$PREFIX/lib \
+ --disable-nls \
+ --enable-languages=c,c++,fortran \
+ --enable-shared --enable-threads=posix \
+ `# [2]` --disable-multilib \
+ `# [3]` --disable-libgomp --without-cloog --without-ppl \
+ `# [4]` --enable-__cxa_atexit \
+ `# [5]` --with-mpfr-include="$(pwd)/../mpfr/src" \
+ --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \
+ `# [6]` --with-system-zlib
+build-commands:
+- cd o && make
+install-commands:
+- cd o && make DESTDIR="$DESTDIR" install
+- ln -s gcc "$DESTDIR/$PREFIX/bin/cc"
+- |
+ for fortran_alias in f77 f90 f95; do
+ ln -s gfortran "$DESTDIR/$PREFIX/bin/$fortran_alias"
+ done
+build_depends:
+- build-essential/stage2-binutils.morph
+- build-essential/stage2-busybox.morph
+- build-essential/stage2-eglibc.morph
+- build-essential/stage2-fhs-dirs.morph
+- build-essential/stage2-gawk.morph
+- build-essential/stage2-gcc.morph
+- build-essential/stage2-linux-api-headers.morph
+- build-essential/stage2-make.morph
+- build-essential/stage2-reset-specs.morph
+- build-essential/eglibc.morph
+- build-essential/zlib.morph