Comment 6 for bug 1089933

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

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.