summaryrefslogtreecommitdiff
path: root/gcc-bootstrap-pass1-1.morph
blob: 51d4944f33bc42b49359f236412e4b6bd51de4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    "name": "gcc-bootstrap-pass1-1",
    "kind": "chunk",
    "configure-commands": [
        "mkdir o",
        "cd o && ../configure --target=\"$TOOLCHAIN_TARGET\" --prefix=\"$PREFIX\" --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap  --disable-libssp --disable-libgomp --disable-libquadmath --disable-target-libiberty --disable-target-zlib --enable-languages=c --without-ppl --without-cloog --with-mpfr-include=\"$(pwd)/../mpfr/src\" --with-mpfr-lib=\"$(pwd)/mpfr/src/.libs\""
    ],
    "build-commands": [
        "cd o && make"
    ],
    "install-commands": [
        "cd o && make DESTDIR=\"$DESTDIR\" install",
        "for f in `find \"$DESTDIR\" -name libgcc.a`; do EH=\"`echo \"$f\" | sed 's/libgcc/&_eh/'`\" && if [ ! -e \"$EH\" ]; then ln -s libgcc.a \"$EH\"; fi; done"
    ]
}