[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 6d496ccd3b2c744e052d32a01dac784d12dd6d8a..39c9e93bbd85f33b6e0599bd98882dfd63c9c3d2 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 \