Hi, I compiled Firefox with fedpkg (very nice!). But when I add --enable-hardening
in .mozconfig
, the compilation errors out… I’ll try it again, but just curious, how come it is not enabled by default in Fedora?
FWIW, there is an old thread on the subject here:
FWIW, I compiled Firefox using Mozilla’s way with --enable-hardening, and it was fine. But doing it the Fedora way, it errored out with --enable-hardening, which is weird.
Can you post the error?
Oh, I know what the error was. I changed export MOZ_TELEMETRY_REPORTING=1
to export MOZ_TELEMETRY_REPORTING=0
. Turns out that is unacceptable and errors out, but removing export MOZ_TELEMETRY_REPORTING=1
from .mozconfig is okay. I only saw what the error was, though, when I did ./mach build -v ...
without the 2>&1.
Does that solve the two posts you made about compiling/running firefox?
Thanks
Sorry, I got confused. The errors for --enable-hardening were different. It’d be hard to show them except maybe with screenshots. I’ll do that when I get to it.
You may want to look at tee, script or how to pipe the output to a text file vice doing screenshots.
Thanks