diff --git a/ffmpeg/Makefile b/ffmpeg/Makefile index 83dbcd4..9fa285c 100644 --- a/ffmpeg/Makefile +++ b/ffmpeg/Makefile @@ -98,7 +98,7 @@ endef $(foreach D,$(FFLIBS-yes),$(eval $(call DOSUBDIR,lib$(D)))) ifneq ($(NASRCS),) -NAFLAGS = -g -F dwarf -P$(DST_PATH)/config.asm +NAFLAGS = -g -F dwarf -DPIC -Wl,-mcmodel=large -P$(DST_PATH)/config.asm NAFLAGS += ${INCDIR_PREFIX}$(SRC_PATH)/ ifneq ($(wildcard $(SRC_PATH)/libavcodec/$(ARCH)),) NAFLAGS += ${INCDIR_PREFIX}$(SRC_PATH)/libavcodec/$(ARCH)