diff --git a/templates/gcc/template b/templates/gcc/template index 12411b06691..01d5ee843f9 100644 --- a/templates/gcc/template +++ b/templates/gcc/template @@ -39,4 +39,8 @@ pre_configure() post_install() { cd ${DESTDIR}/usr/bin && ln -s gcc cc + # + # rpcgen wants /lib/cpp, make a symlink. + # + cd ${DESTDIR}/lib && ln -s ../usr/bin/cpp . }