New review comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/29257#discussion_r589142763 Comment: you can use `if [ "$CROSS_BUILD" ];` to check for cross or native buids.