About Environment Variables

#1

I started doing my own FF builds, and I have 2 questions about environment variables and their use.

  1. Is there a way to list all the possible variables that alter the build? Running “./configure --help” only prints a few of them, mostly related to compilation itself. This is probably a bit far-fetched as there seem to be a lot of them.

  2. What’s the proper way to set the variables? My own buildscript draws some inspiration from both the Icecat and Fennec scripts, and so far I’ve seen them be put in multiple places. Icecat sets some in confvars.sh and some of Fennec’s mobile specific options go in mobile/android/branding/unofficial/configure.sh. I myself also had to add “export MOZ_INSTALL_TRACKING=” to my android mozconfig to get around a build failure. Is it all the same?

Thanks in advance!

#2

Fennec F-Droid*, that is.