]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix "as: invalid option" during libvpx compilation
authorFlole998 <Flole998@users.noreply.github.com>
Sun, 9 Jan 2022 16:33:38 +0000 (17:33 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 16:33:38 +0000 (17:33 +0100)
Makefile.ffmpeg

index 79fcec205165144bed6428ea3ad1e60ee52a7b8d..4496c59a5f6a2ea0df7514a54d14fd66877ede92 100644 (file)
@@ -333,7 +333,7 @@ $(LIB_ROOT)/$(LIBVPX)/.tvh_build: \
                $(LIB_ROOT)/$(NASM)/.tvh_build \
                $(LIB_ROOT)/$(LIBVPX)/.tvh_download
        cd $(LIB_ROOT)/$(LIBVPX) && \
-               ASFLAGS="-DENABLE_PIC=1 -DPIC=1" $(CONFIGURE) \
+               ASFLAGS="--defsym ENABLE_PIC=1 --defsym PIC=1" $(CONFIGURE) \
                --extra-cflags="$(CFLAGS_PI)" \
                --disable-examples \
                --disable-docs \