blob: 41d000ceec162fc3b6176f11051dc44b712b5d6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{
"name": "gcc",
"kind": "chunk",
"configure-commands": [
"sed -i 's@\\./fixinc\\.sh@-c true@' gcc/Makefile.in",
"mkdir o",
"cd o && ../configure --prefix=/usr --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-libgomp --without-ppl --without-cloog"
],
"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",
"ln -s gcc \"$DESTDIR/usr/bin/cc\""
]
}
|