32 |
http://www.kernel.org/pub/linux/devel/${PNAME}/${SRCFILE} |
http://www.kernel.org/pub/linux/devel/${PNAME}/${SRCFILE} |
33 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
34 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
35 |
|
mirror://${PNAME}/${PNAME}-2.32-do-not-link-with-static-libstdc++.patch |
36 |
) |
) |
37 |
|
|
38 |
# unstable |
# unstable |
53 |
export CCHOST=${CCHOST} |
export CCHOST=${CCHOST} |
54 |
fi |
fi |
55 |
|
|
56 |
|
msetfeature "static !ccache !distcc" |
57 |
|
|
58 |
src_prepare() |
src_prepare() |
59 |
{ |
{ |
60 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
61 |
install -d ${SRCDIR}/build || die |
install -d ${SRCDIR}/build || die |
62 |
|
|
63 |
|
cd ${SRCDIR} |
64 |
|
mpatch ${PNAME}-2.32-do-not-link-with-static-libstdc++.patch || die |
65 |
} |
} |
66 |
|
|
67 |
src_compile() |
src_compile() |
96 |
--disable-werror \ |
--disable-werror \ |
97 |
--disable-gdb \ |
--disable-gdb \ |
98 |
--with-pic \ |
--with-pic \ |
99 |
|
--enable-system-zlib \ |
100 |
${myopts} \ |
${myopts} \ |
101 |
|| die |
|| die |
102 |
|
|