summaryrefslogtreecommitdiff
path: root/doc/platform.texi
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-07-16 17:00:11 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-07-21 22:18:35 +0200
commitbb0babd7054bed7edfd9f4d6b20cdba864de1830 (patch)
treec1978d5c25bd4a998fc9eff4d5901ec64616cd8c /doc/platform.texi
parentb396bbad100a7493691d09b8dceba91e3cd28e2e (diff)
build: Support executable only ldflags
The options is useful to build position-independent executables on hardened systems (e.g. Android L and Gentoo Hardened).
Diffstat (limited to 'doc/platform.texi')
-rw-r--r--doc/platform.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/platform.texi b/doc/platform.texi
index 3ada146e79..d4a6618b13 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -35,6 +35,9 @@ to your project LDFLAGS:
-Wl,-Bsymbolic
@end example
+If your target platform requires position independent binaries, you should
+pass the correct linking flag (e.g. @code{-pie}) to @code{--extra-ldexeflags}.
+
@section BSD
BSD make will not build Libav, you need to install and use GNU Make