Flags for distribution of custom Julia build

Hello everyone,
I am currently developing an open-source software that relies on C and a custom build of Julia with JULIA_THREADS=0 set in Make.user. I would need to provide my end user with a complete package with a compiled shared object that links against this custom built Julia, which is included in the package, without having to build Julia himself. I have successfully made it work, but I was wondering what build flags would be the better to build generic custom Julia builds for Mac and Linux, in a similar way to the downloadable images on the JuliaLang website. Also, but it might be a question for another topic, am I breaking any copyrights by doing so?

Thank you so much