summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL17
1 files changed, 12 insertions, 5 deletions
diff --git a/INSTALL b/INSTALL
index 91b79751f..1c2e4e676 100644
--- a/INSTALL
+++ b/INSTALL
@@ -121,6 +121,18 @@ Special features/options:
so configure and the compiler will look there for libraries.
Multiple directories may be specified as with --with-incpath.
+ --enable-pie
+ Build sudo and related programs as as a position independent
+ executables (PIE). This improves the effectiveness of address
+ space layout randomization (ASLR) on systems that support it.
+ Sudo will create PIE binaries by default on Linux systems.
+
+ --disable-pie
+ Disable the creation of position independent executables (PIE),
+ even if the compiler creates PIE binaries by default. This
+ option may be needed on some Linux systems where PIE binaries
+ are not fully supported.
+
--with-rpath
Tells configure to use -Rpath in addition to -Lpath when
passing library paths to the loader. This option is on
@@ -657,11 +669,6 @@ The following options are also configurable at runtime:
_FORTIFY_SOURCE defined to 2, building with -fstack-protector
and linking with -zrelro, where supported.
- --disable-pie
- Disable the creation of position independent executables (PIE)
- even when the compiler and linker support them.
- By default, sudo will be built as a PIE where possible.
-
--enable-admin-flag
Enable the creation of an Ubuntu-style admin flag file
the first time sudo is run.