diff --git a/Makefile b/Makefile index 19b8df4..9cca3a2 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
IFLAGS := -I. -I$(SRC_PATH) CPPFLAGS := $(IFLAGS) $(CPPFLAGS) -CFLAGS += $(ECFLAGS) +CFLAGS += $(ECFLAGS) -fPIC CCFLAGS = $(CFLAGS) YASMFLAGS += $(IFLAGS) -I$(SRC_PATH)/libavutil/x86/ -Pconfig.asm HOSTCFLAGS += $(IFLAGS)
And it built.
diff --git a/Makefile b/Makefile
index 19b8df4..9cca3a2 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
IFLAGS := -I. -I$(SRC_PATH) PATH)/libavutil /x86/ -Pconfig.asm
CPPFLAGS := $(IFLAGS) $(CPPFLAGS)
-CFLAGS += $(ECFLAGS)
+CFLAGS += $(ECFLAGS) -fPIC
CCFLAGS = $(CFLAGS)
YASMFLAGS += $(IFLAGS) -I$(SRC_
HOSTCFLAGS += $(IFLAGS)
And it built.