seamonkey: Move CC=clang CXX=clang++ from command line into mozconfig

"export CC=clang CXX=clang++" is bad because it contaminates the
environment, thus if some packages are built after seamonkey in the same
shell and the user wouldn't have unset CC and CXX, those package may be
built with an untested configuration.

Move them into mozconfig.  A test build has shown they still works
there.
This commit is contained in:
Xi Ruoyao 2023-11-07 22:34:59 +08:00
parent 679f4d6a67
commit eedb6d02a0
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -246,7 +246,9 @@ ac_add_options --enable-system-pixman
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib</literal>
ac_add_options --with-system-zlib
export CC=clang CXX=clang++</literal>
EOF</userinput></screen>
<note>
@ -285,8 +287,7 @@ EOF</userinput></screen>
commands:
</para>
<screen><userinput>export CC=clang CXX=clang++ &amp;&amp;
./mach configure &amp;&amp;
<screen><userinput>./mach configure &amp;&amp;
./mach build</userinput></screen>