mozilla/rust — pull request #3653 by auREAX (2012-10-04 03:44:09+00:00)
Title: GRSecurity compatibility

This patch adds GRSecurity compatibility to the Rust build process, fixing issues #1708 and #3641.

It adds an extra flag to ./configure called --enable-pax-marks, which will lead to the application of the PaX MPROTECT disable flag on all retrieved and compiled rustc binaries.
Additionally, the configure process has been altered to attempt to automatically detect a running GRSecurity kernel and set aforementioned option as a result, unless --disable-pax-marks has been explicitly passed as a ./configure flag.