summaryrefslogtreecommitdiff
path: root/gcc.morph
blob: 50307b40ebcfb7935bcaf1886261f67cd4a5711c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
    "name": "gcc",
    "kind": "chunk",
    "configure-commands": [
        "mkdir o",
        "cd o && \\\n../configure \\\n  $(../morph-arch-config) \\\n  --prefix=\"$PREFIX\" \\\n  `# [1]` --libdir=$PREFIX/lib \\\n  --disable-nls \\\n  --enable-languages=c,c++ --enable-shared --enable-threads=posix \\\n  `# [2]` --disable-multilib \\\n  `# [3]` --disable-libgomp --without-cloog --without-ppl \\\n  `# [4]` --enable-__cxa_atexit \\\n  `# [5]` --with-mpfr-include=\"$(pwd)/../mpfr/src\" \\\n          --with-mpfr-lib=\"$(pwd)/mpfr/src/.libs\" \\\n  `# [6]` --with-system-zlib\n"
    ],
    "build-commands": [
        "cd o && make"
    ],
    "install-commands": [
        "cd o && make DESTDIR=\"$DESTDIR\" install",
        "ln -s gcc \"$DESTDIR/$PREFIX/bin/cc\""
    ]
}