|
|
@ -68,6 +68,16 @@ if [ "$createdocs" != "0" ]; then |
|
|
|
hook_add postdoc 2 'pkg_djb_installdoc $pkg_djb_hierarchy' |
|
|
|
hook_add postdoc 2 'pkg_djb_installdoc $pkg_djb_hierarchy' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if atstage cross; then |
|
|
|
|
|
|
|
# adjust conf-cc and conf-ld files for using the cross-compiler |
|
|
|
|
|
|
|
pkg_djb_crosscc() { |
|
|
|
|
|
|
|
echo_warning "Adjusting config files for cross-compiling" |
|
|
|
|
|
|
|
sed -i "s,gcc,$CC,g" \ |
|
|
|
|
|
|
|
src/conf-cc src/conf-ld |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
hook_add premake 5 "pkg_djb_crosscc" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# custmain |
|
|
|
# custmain |
|
|
|
# |
|
|
|
# |
|
|
|
custmain="pkg_djb_main" |
|
|
|
custmain="pkg_djb_main" |
|
|
|