[packages] ffmpeg: PIC is required for libav* (#6160)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 14 Nov 2009 19:16:35 +0000 (19:16 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 14 Nov 2009 19:16:35 +0000 (19:16 +0000)
SVN-Revision: 18420

multimedia/ffmpeg/Makefile

index 6d496cc..39c9e93 100644 (file)
@@ -166,7 +166,7 @@ FFMPEG_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(FFMPEG_PROT
 define Build/Configure
        # this is *NOT* GNU configure
        ( cd $(PKG_BUILD_DIR); \
-               CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
+               CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
                LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \
                --enable-cross-compile \