Skip to content

Instantly share code, notes, and snippets.

@allskyee
Created February 27, 2014 09:40
Show Gist options
  • Save allskyee/9247125 to your computer and use it in GitHub Desktop.
Save allskyee/9247125 to your computer and use it in GitHub Desktop.
freebsd ports cross compile
make \
WRKDIRPREFIX=/home/xxx/ports/obj PREFIX=/home/xxx/ports/install \
CONFIGURE_ARGS="--host=arm --prefix=/home/xxx/ports/install" \
LDFLAGS="-rpath=$BUILDWORLD/tmp/lib:$BUILDWORLD/tmp/usr/lib:/home/xxx/ports/install/lib:$BUILDWORLD/lib -L$BUILDWORLD/tmp/lib -L$BUILDWORLD/tmp/usr/lib -L/home/xxx/ports/install/lib -L$BUILDWORLD/lib" \
NO_PKG_REGISTER=1 WITHOUT_CHECKS=yes install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment