Skip to content

Commit

Permalink
build: add --enable-pic to ffmpeg Linux LTO builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lokok8 committed Dec 6, 2022
1 parent aee0fac commit 96a84e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/ffmpeg/module.defs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ endif

ifeq (on,$(GCC.lto))
FFMPEG.CONFIGURE.extra += --enable-lto
ifeq (linux,$(HOST.system))
FFMPEG.CONFIGURE.extra += --enable-pic
endif
endif

ifneq (,$(filter $(FEATURE.qsv)-$(HOST.system),1-linux 1-freebsd))
Expand Down

0 comments on commit 96a84e0

Please sign in to comment.