diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-07-16 17:00:11 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-07-21 22:18:35 +0200 |
commit | bb0babd7054bed7edfd9f4d6b20cdba864de1830 (patch) | |
tree | c1978d5c25bd4a998fc9eff4d5901ec64616cd8c /library.mak | |
parent | b396bbad100a7493691d09b8dceba91e3cd28e2e (diff) | |
download | ffmpeg-bb0babd7054bed7edfd9f4d6b20cdba864de1830.tar.gz |
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 'library.mak')
-rw-r--r-- | library.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library.mak b/library.mak index af33206434..3da14b6abb 100644 --- a/library.mak +++ b/library.mak @@ -46,7 +46,7 @@ $(TOOLS): THISLIB = $(FULLNAME:%=$(LD_LIB)) $(TESTPROGS): THISLIB = $(SUBDIR)$(LIBNAME) $(TESTPROGS) $(TOOLS): %$(EXESUF): %.o $(EXEOBJS) - $$(LD) $(LDFLAGS) $$(LD_O) $$(filter %.o,$$^) $$(THISLIB) $(FFEXTRALIBS) $$(ELIBS) + $$(LD) $(LDFLAGS) $(LDEXEFLAGS) $$(LD_O) $$(filter %.o,$$^) $$(THISLIB) $(FFEXTRALIBS) $$(ELIBS) $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR) $(Q)cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME) |