From bb0babd7054bed7edfd9f4d6b20cdba864de1830 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 16 Jul 2014 17:00:11 +0200 Subject: build: Support executable only ldflags The options is useful to build position-independent executables on hardened systems (e.g. Android L and Gentoo Hardened). --- doc/platform.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/platform.texi') 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 -- cgit v1.2.3