Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cross-building to glibc #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkgs/glibc/build.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ dep: "m4" # TODO: remove once m4 is declared a runtime-dep of bison
dep: "gzip"
dep: "python3"

# TODO: specify cross-compile target like in buildc.go?
build_step: {
argv: "${DISTRI_SOURCEDIR}/configure"
argv: "--prefix=${DISTRI_PREFIX}"
argv: "--host=${DISTRI_CONFIGURE_HOST}"
argv: "--sysconfdir=/etc"
argv: "--disable-dependency-tracking"
# TODO: remove again
Expand Down Expand Up @@ -65,5 +65,6 @@ build_step: {

build_step: {
argv: "rm"
argv: "-f"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, this file doesn't exist when doing crossbuilding, so this arg is here to allow it to just continue on if it doesn't exist

argv: "${DISTRI_DESTDIR}/etc/ld.so.cache"
}