build: Support executable only ldflags

The options is useful to build position-independent executables on
hardened systems (e.g. Android L and Gentoo Hardened).
This commit is contained in:
Luca Barbato 2014-07-16 17:00:11 +02:00
parent b396bbad10
commit bb0babd705
4 changed files with 15 additions and 3 deletions

View file

@ -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