From: Flole998 Date: Sun, 9 Jan 2022 16:33:38 +0000 (+0100) Subject: Fix "as: invalid option" during libvpx compilation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07b3d405f85731abe5b6310b787074e1f8233d5f;p=thirdparty%2Ftvheadend.git Fix "as: invalid option" during libvpx compilation --- diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg index 79fcec205..4496c59a5 100644 --- a/Makefile.ffmpeg +++ b/Makefile.ffmpeg @@ -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 \